Skip to content

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

Reference new langchain and overview docs in /setup (#61)

Marc Klingen68b8497d98fd
diff --git a/src/pages/project/[projectId]/setup.tsx b/src/pages/project/[projectId]/setup.tsx
index e115abd5fd..3a8536d30c 100644
--- a/src/pages/project/[projectId]/setup.tsx
+++ b/src/pages/project/[projectId]/setup.tsx
@@ -1,11 +1,10 @@
import { ChevronRightIcon } from "@heroicons/react/20/solid";
import { CommandLineIcon, RocketLaunchIcon } from "@heroicons/react/24/outline";
-import clsx from "clsx";
import { SiPython } from "react-icons/si";
import Header from "@/src/components/layouts/header";
import { ApiKeyList } from "@/src/features/publicApi/components/ApiKeyList";
import { useRouter } from "next/router";
-import { Code } from "lucide-react";
+import { Code, Bird, GraduationCap } from "lucide-react";
export default function GetStartedPage() {
const router = useRouter();
@@ -22,32 +21,42 @@ export default function GetStartedPage() {
}
const instructionItems = [
+ {
+ name: "Introduction",
+ description:
+ "Understand the basics of langfuse: tracing and feedback collection",
+ href: "https://langfuse.com/docs/integrations",
+ icon: GraduationCap,
+ },
{
name: "Quickstart",
description: "Follow the quickstart to integrate langfuse into your app",
href: "https://langfuse.com/docs/get-started",
- iconColor: "bg-purple-400",
icon: RocketLaunchIcon,
},
+ {
+ name: "Langchain integration",
+ description:
+ "Trace your Langchain llm/chain/agent/... with a single line of code",
+ href: "https://langfuse.com/docs/langchain",
+ icon: Bird,
+ },
{
name: "Typescript SDK",
description: "npm install langfuse",
href: "https://langfuse.com/docs/sdk/typescript",
- iconColor: "bg-blue-400",
icon: CommandLineIcon,
},
{
name: "Python SDK",
description: "pip install langfuse",
href: "https://langfuse.com/docs/sdk/python",
- iconColor: "bg-yellow-400",
icon: SiPython,
},
{
- name: "API Reference",
- description: "Swagger API reference",
+ name: "API Reference (Swagger)",
+ description: "Custom integration",
href: "https://langfuse.com/docs/reference",
- iconColor: "bg-green-400",
icon: Code,
},
];
@@ -58,10 +67,6 @@ function Instructions() {
<h2 className="text-base font-semibold leading-6 text-gray-900">
Integrate langfuse
</h2>
- <p className="mt-1 text-sm text-gray-500">
- Use one of the following reference to start monitoring your application
- with langfuse application
- </p>
<ul
role="list"
className="mt-6 divide-y divide-gray-200 border-b border-t border-gray-200"
@@ -70,16 +75,8 @@ function Instructions() {
<li key={itemIdx}>
<div className="group relative flex items-start space-x-3 py-4">
<div className="flex-shrink-0">
- <span
- className={clsx(
- item.iconColor,
- "inline-flex h-10 w-10 items-center justify-center rounded-lg"
- )}
- >
- <item.icon
- className="h-6 w-6 text-white"
- aria-hidden="true"
- />
+ <span className="inline-flex h-10 w-10 items-center justify-center rounded-lg border border-gray-200 text-gray-400 group-hover:border-indigo-600 group-hover:text-indigo-600">
+ <item.icon className="h-6 w-6" aria-hidden="true" />
</span>
</div>
<div className="min-w-0 flex-1">