lc_attributes() — langchain Function Reference
Architecture documentation for the lc_attributes() function in azure.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 399a9365_3da4_fa0f_783c_6fe3584fb64b["lc_attributes()"] 4b940a4c_8618_3ca0_9fa5_c378f5b8f6ac["AzureChatOpenAI"] 399a9365_3da4_fa0f_783c_6fe3584fb64b -->|defined in| 4b940a4c_8618_3ca0_9fa5_c378f5b8f6ac style 399a9365_3da4_fa0f_783c_6fe3584fb64b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/langchain_openai/chat_models/azure.py lines 724–729
def lc_attributes(self) -> dict[str, Any]:
"""Get the attributes relevant to tracing."""
return {
"openai_api_type": self.openai_api_type,
"openai_api_version": self.openai_api_version,
}
Domain
Subdomains
Source
Frequently Asked Questions
What does lc_attributes() do?
lc_attributes() is a function in the langchain codebase, defined in libs/partners/openai/langchain_openai/chat_models/azure.py.
Where is lc_attributes() defined?
lc_attributes() is defined in libs/partners/openai/langchain_openai/chat_models/azure.py at line 724.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free