Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat: add video to datasets onboarding screen (#9785)

Marc Klingen58f660306004
diff --git a/web/src/components/onboarding/DatasetsOnboarding.tsx b/web/src/components/onboarding/DatasetsOnboarding.tsx
index 5c2f5bd3b7..b46adc1fcc 100644
--- a/web/src/components/onboarding/DatasetsOnboarding.tsx
+++ b/web/src/components/onboarding/DatasetsOnboarding.tsx
@@ -35,8 +35,8 @@ export function DatasetsOnboarding({ projectId }: { projectId: string }) {
return (
<SplashScreen
- title="Get Started with Datasets"
- description="Datasets in Langfuse are collections of inputs (and expected outputs) for your LLM application. You can for example use them to benchmark new releases before deployment to production."
+ title="Get Started with Datasets & Experiments"
+ description="Datasets in Langfuse are collections of inputs (and expected outputs) for your LLM application. You can run Experiments against these datasets to test new releases before deployment to production."
valuePropositions={valuePropositions}
primaryAction={{
label: "Create Dataset",
@@ -53,6 +53,7 @@ export function DatasetsOnboarding({ projectId }: { projectId: string }) {
label: "Learn More",
href: "https://langfuse.com/docs/datasets",
}}
+ videoSrc="https://static.langfuse.com/prod-assets/onboarding/datasets-overview-v1.mp4"
/>
);
}
diff --git a/web/src/pages/project/[projectId]/datasets.tsx b/web/src/pages/project/[projectId]/datasets.tsx
index 8ccde98c24..42d537508f 100644
--- a/web/src/pages/project/[projectId]/datasets.tsx
+++ b/web/src/pages/project/[projectId]/datasets.tsx
@@ -24,6 +24,24 @@ export default function Datasets() {
const showOnboarding = !isLoading && !hasAnyDataset;
+ if (showOnboarding) {
+ return (
+ <Page
+ headerProps={{
+ title: "Datasets",
+ help: {
+ description:
+ "Datasets in Langfuse are a collection of inputs (and expected outputs) of an LLM application. They are used to benchmark new releases before deployment to production. See docs to learn more.",
+ href: "https://langfuse.com/docs/evaluation/dataset-runs/datasets",
+ },
+ }}
+ scrollable
+ >
+ <DatasetsOnboarding projectId={projectId} />
+ </Page>
+ );
+ }
+
return (
<Page
headerProps={{
@@ -37,14 +55,8 @@ export default function Datasets() {
<DatasetActionButton projectId={projectId} mode="create" />
),
}}
- scrollable={showOnboarding}
>
- {/* Show onboarding screen if project has no datasets */}
- {showOnboarding ? (
- <DatasetsOnboarding projectId={projectId} />
- ) : (
- <DatasetsTable projectId={projectId} />
- )}
+ <DatasetsTable projectId={projectId} />
</Page>
);
}