-
- SQL query generation
-
-
- Perform a text to SQL query generation using LangChain.
- The example uses the Chinook database of a music store,
- with both employee, customer and invoice data.
-
+
+
+
+
+
+ SQL query generation
-
- Explore project
+
+ Perform a text to SQL query generation using LangChain. The
+ example uses the Chinook database of a music store, with
+ both employee, customer and invoice data.
+
+ Explore project
+
diff --git a/apps/opik-frontend/src/router.tsx b/apps/opik-frontend/src/router.tsx
index 5a7525c718..7c17dbf414 100644
--- a/apps/opik-frontend/src/router.tsx
+++ b/apps/opik-frontend/src/router.tsx
@@ -20,6 +20,7 @@ import ProjectPage from "@/components/pages/ProjectPage/ProjectPage";
import ProjectsPage from "@/components/pages/ProjectsPage/ProjectsPage";
import TracesPage from "@/components/pages/TracesPage/TracesPage";
import WorkspacePage from "@/components/pages/WorkspacePage/WorkspacePage";
+import EmptyLayout from "./components/layout/EmptyLayout/EmptyLayout";
const TanStackRouterDevtools =
process.env.NODE_ENV === "production"
@@ -47,6 +48,12 @@ const workspaceGuardRoute = createRoute({
component: WorkspaceGuard,
});
+const workspaceGuardEmptyLayoutRoute = createRoute({
+ id: "workspaceGuardEmptyLayout",
+ getParentRoute: () => rootRoute,
+ component: () =>
,
+});
+
const homeRoute = createRoute({
path: "/",
getParentRoute: () => workspaceGuardRoute,
@@ -61,12 +68,9 @@ const workspaceRoute = createRoute({
// ----------- get started
const getStartedRoute = createRoute({
- path: "/get-started",
- getParentRoute: () => workspaceRoute,
+ path: "/$workspaceName/get-started",
+ getParentRoute: () => workspaceGuardEmptyLayoutRoute,
component: GetStartedPage,
- staticData: {
- title: "Get Started",
- },
});
// ----------- projects
@@ -173,10 +177,10 @@ const datasetItemsRoute = createRoute({
});
const routeTree = rootRoute.addChildren([
+ workspaceGuardEmptyLayoutRoute.addChildren([getStartedRoute]),
workspaceGuardRoute.addChildren([
homeRoute,
workspaceRoute.addChildren([
- getStartedRoute,
projectsRoute.addChildren([
projectsListRoute,
projectRoute.addChildren([tracesRoute]),