Skip to content

Commit 4a4adcc

Browse files
committed
Add LLM_NAME and LLM_MODEL attributes to LangChainAttributes class for enhanced semantic conventions in LangChain integration.
1 parent e19695b commit 4a4adcc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

agentops/semconv/langchain.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ class LangChainAttributes:
2525
# Session attributes
2626
SESSION_TAGS = "langchain.session.tags"
2727

28+
LLM_NAME = "langchain.llm.name"
29+
LLM_MODEL = "langchain.llm.model"
30+
2831
# Chain attributes - specific to LangChain
2932
CHAIN_NAME = "langchain.chain.name"
3033
CHAIN_TYPE = "langchain.chain.type"

0 commit comments

Comments
 (0)