diff --git a/src/docs.json b/src/docs.json index 96473b4ff1..1fff2c7188 100644 --- a/src/docs.json +++ b/src/docs.json @@ -844,6 +844,7 @@ { "group": "Additional resources", "pages": [ + "langsmith/polly", { "group": "Releases & changelogs", "pages": [ diff --git a/src/langsmith/create-a-prompt.mdx b/src/langsmith/create-a-prompt.mdx index a39bad4b02..59a5bf5447 100644 --- a/src/langsmith/create-a-prompt.mdx +++ b/src/langsmith/create-a-prompt.mdx @@ -36,6 +36,10 @@ Adding an output schema to your prompt will get output in a structured format. L You can also add a tool by clicking the `+ Tool` button at the bottom of the prompt editor. See [here](/langsmith/use-tools) for more information on how to use tools. + +Use **[Polly](/langsmith/polly)** in the Playground to generate tools, create output schemas, and optimize your prompts with AI assistance. + + ## Run the prompt Click "Start" to run the prompt. diff --git a/src/langsmith/images/polly-prompt-tool-dark.png b/src/langsmith/images/polly-prompt-tool-dark.png new file mode 100644 index 0000000000..7a8ddc9acb Binary files /dev/null and b/src/langsmith/images/polly-prompt-tool-dark.png differ diff --git a/src/langsmith/images/polly-prompt-tool.png b/src/langsmith/images/polly-prompt-tool.png new file mode 100644 index 0000000000..646fe9ef5d Binary files /dev/null and b/src/langsmith/images/polly-prompt-tool.png differ diff --git a/src/langsmith/images/polly.png b/src/langsmith/images/polly.png new file mode 100644 index 0000000000..13d4f05311 Binary files /dev/null and b/src/langsmith/images/polly.png differ diff --git a/src/langsmith/observability-concepts.mdx b/src/langsmith/observability-concepts.mdx index ff06eab1fe..cb70a35136 100644 --- a/src/langsmith/observability-concepts.mdx +++ b/src/langsmith/observability-concepts.mdx @@ -55,6 +55,10 @@ To group traces into threads, you pass a special metadata key (`session_id`, `th alt="Thread representing a sequence of traces in a multi-turn conversation." /> + +Use **[Polly](/langsmith/polly)** to analyze traces, runs, and threads. Polly helps you understand agent performance, debug issues, and gain insights from conversation threads without manually digging through data. + + ## Projects A _project_ is a collection of traces. You can think of a project as a container for all the traces that are related to a single application or service. You can have multiple projects, and each project can have multiple traces. diff --git a/src/langsmith/observability-quickstart.mdx b/src/langsmith/observability-quickstart.mdx index f8082929a9..55320112d4 100644 --- a/src/langsmith/observability-quickstart.mdx +++ b/src/langsmith/observability-quickstart.mdx @@ -379,6 +379,10 @@ Here are some topics you might want to explore next: - [Trace a RAG application](/langsmith/observability-llm-tutorial) is a full tutorial, which adds observability to an application from development through to production. - [Sending traces to a specific project](/langsmith/log-traces-to-project) changes the destination project of your traces. + +After logging traces, use **[Polly](/langsmith/polly)** to analyze them and get AI-powered insights into your application's performance. + + ## Video guide