LangChain is a framework designed for building applications that utilize large language models (LLMs). It provides a set of tools and components that make it easier to integrate LLMs into various applications, enabling developers to create complex workflows and functionalities.
With Dynatrace, you can get visibility into each step of the workflows monitoring prompt and completion messages, error tracking, performance metrics, and more.
The following attributes are available for GenAI Spans.
gen_ai.completion.0.content
gen_ai.completion.0.role
gen_ai.prompt.0.content
gen_ai.prompt.0.role
gen_ai.request.model
gen_ai.response.model
gen_ai.system
llm.request.type
traceloop.entity.name
traceloop.span.kind
traceloop.workflow.name
http.client.duration
ms