Instrumenting your Langchain applications with Parea AI
PareaAILangchainTracer
you can automatically subscribe to all exposed LangChain events.
PareaAILangchainTracer
as a callback when running your Langchain model/chain/agent:
Parea
and the PareaAILangchainTracer
. Follow these steps to get an API key.
PareaAILangchainTracer
and Langchain to evaluate a RAG chain. The code can be found in the cookbook here.
trace
decorator plays well with that and will associate any traces, LLM calls, and LangChain logs.
You can see a schematic example below:
Full working example