LangSmith Integration Docs#402
Conversation
|
Preview ID generated: preview-anguso-1757297504-91fdd31 |
| "langsmith/trace-with-langgraph", | ||
| "langsmith/trace-anthropic", | ||
| "langsmith/trace-openai", | ||
| "langsmith/trace-with-autogen", |
There was a problem hiding this comment.
adds 4 integrations and sorts alphabetically after langX and generic llms
There was a problem hiding this comment.
not sure if we prefer images or public urls
|
Preview ID generated: preview-anguso-1757297800-75d18e9 |
| # Configure LangSmith tracing | ||
| configure(project_name="adk-example") | ||
|
|
||
| # Instrument Google ADK directly | ||
| GoogleADKInstrumentor().instrument() |
There was a problem hiding this comment.
it's not clear to me what the differences are between these approaches. does the user need to do both?
There was a problem hiding this comment.
It's one or the other. The Google ADK has their own OTEL format that generally follow Gen AI semantic conventions with some differences, and is more detailed. Our backend supports this now and is the prefered way to trace google adk. The Openinstrumentation approach strictly follows GenAI but is less detailed. We also support this and is useful if you want to trace multiple frameworks that Openinstrumentation can instrument or if you're tracing to other backends that doesn't support the gcp.vertex.agent prefixed attributed
Kathryn May (katmayb)
left a comment
There was a problem hiding this comment.
LGTM, minor nits, few suggestions, nothing blocking
| sidebarTitle: Google ADK | ||
| --- | ||
|
|
||
| LangSmith supports tracing Google Agent Development Kit (ADK) applications through OpenTelemetry integration. This guide shows you how to automatically capture traces from your Google ADK agents and send them to LangSmith for monitoring and analysis. |
There was a problem hiding this comment.
| LangSmith supports tracing Google Agent Development Kit (ADK) applications through OpenTelemetry integration. This guide shows you how to automatically capture traces from your Google ADK agents and send them to LangSmith for monitoring and analysis. | |
| LangSmith supports tracing Google Agent Development Kit (ADK) applications through the OpenTelemetry integration. This guide shows you how to automatically capture traces from your Google ADK agents and send them to LangSmith for monitoring and analysis. |
| configure(project_name="adk-example") # Optional: can also use environment variables | ||
| ``` | ||
|
|
||
| Alternatively, you can use the Openinference GoogleADKInstrumentor |
There was a problem hiding this comment.
| Alternatively, you can use the Openinference GoogleADKInstrumentor | |
| Alternatively, you can use the Openinference GoogleADKInstrumentor: |
|
Here's a preview of the edits: https://langchain-5e9cc07a-preview-anguso-1757297800-75d18e9.mintlify.app/langsmith/trace-with-autogen |
|
Preview ID generated: preview-anguso-1757340067-8d96b78 |
|
Preview ID generated: preview-anguso-1757340203-da1220f |
### Purpose Adds documentation for tracing 4 common integrations: Google ADK, Semantic Kernel, AutoGen, and CrewAI Removes deprecated docs
Purpose
Adds documentation for tracing 4 common integrations: Google ADK, Semantic Kernel, AutoGen, and CrewAI
Removes deprecated docs