langchain.chain.nameDeprecated
stringScrub: ManualVisibility: PublicOTel: FalseThe name of the LangChain chain being executed.
Examples
format_promptRunnableSequenceUse gen_ai.pipeline.name instead.
This attribute is being deprecated in favor of gen_ai.pipeline.name, which is the SDK-agnostic replacement for the name of the AI pipeline or chain being executed.
Status: backfill
Changelog
Raw JSON
{
"key": "langchain.chain.name",
"brief": "The name of the LangChain chain being executed.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"format_prompt",
"RunnableSequence"
],
"deprecation": {
"replacement": "gen_ai.pipeline.name",
"reason": "This attribute is being deprecated in favor of gen_ai.pipeline.name, which is the SDK-agnostic replacement for the name of the AI pipeline or chain being executed.",
"_status": "backfill"
},
"alias": [
"gen_ai.pipeline.name",
"ai.pipeline.name"
],
"changelog": [
{
"version": "next",
"prs": [
599
],
"description": "Added langchain.chain.name attribute"
}
]
}