You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LangChain](https://www.langchain.com/) is an open-source framework for building LLM applications with models, prompts, tools, retrievers, chains, and agents.
10
10
@@ -62,7 +62,7 @@ The `deepeval` integration traces LangChain runs through a `CallbackHandler` tha
62
62
63
63
`deepeval`'s LangChain integration enables you to:
64
64
65
-
-**Trace any LangChain run manually** — pass `CallbackHandler(...)` through `config={"callbacks": [...]}`.
65
+
-**Trace any LangChain run** — pass `CallbackHandler(...)` through `config={"callbacks": [...]}` per call.
66
66
-**Evaluate traces or individual components** with `deepeval` metrics.
67
67
-**Run evals from scripts or CI/CD** — same callback, different surfaces.
68
68
-**Customize trace and span data** through callback kwargs, LangChain metadata, and `deepeval`'s tool decorator.
@@ -79,7 +79,7 @@ The `deepeval` integration traces LangChain runs through a `CallbackHandler` tha
Unlike OTel integrations, LangChain is manually instrumented. You decide which runs are traced by passing `CallbackHandler(...)` into LangChain's runtime config.
82
+
LangChain is instrumented per-call: you decide which runs are traced by passing `CallbackHandler(...)` into LangChain's runtime config.
LangGraph uses LangChain's callback system, so the `deepeval` integration is manual. You decide which graph runs are traced by passing `CallbackHandler(...)` into the graph config.
82
+
LangGraph uses LangChain's callback system, so the `deepeval` integration is per-call. You decide which graph runs are traced by passing `CallbackHandler(...)` into the graph config.
83
83
84
84
</Step>
85
85
@@ -219,7 +219,7 @@ For deterministic tool calls, use tool spans for traceability, inputs, outputs,
219
219
220
220
## Customizing trace and span data
221
221
222
-
LangGraph is manually instrumented through LangChain callbacks, so customization happens at the callback or component config boundary.
222
+
LangGraph is instrumented per-call through LangChain callbacks, so customization happens at the callback or component config boundary.
223
223
224
224
- Use `CallbackHandler(...)` kwargs for trace-level defaults like `name`, `tags`, `metadata`, `thread_id`, and `user_id`.
225
225
- Use LangChain metadata for component-level fields on LLM and retriever spans.
[LlamaIndex](https://www.llamaindex.ai/) is an orchestration framework for data ingestion, indexing, and retrieval-augmented generation, with first-class agent and workflow primitives.
[OpenAI Agents](https://openai.github.io/openai-agents-python/) is OpenAI's Python SDK for building agents that reason, call tools, and hand off to other agents.
0 commit comments