lc_secrets() — langchain Function Reference
Architecture documentation for the lc_secrets() function in azure.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 8f065f62_7aad_918b_3431_1ad1494b08ce["lc_secrets()"] fc5b1a22_84a3_78a2_1034_9e66c56cf562["AzureOpenAI"] 8f065f62_7aad_918b_3431_1ad1494b08ce -->|defined in| fc5b1a22_84a3_78a2_1034_9e66c56cf562 style 8f065f62_7aad_918b_3431_1ad1494b08ce fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/langchain_openai/llms/azure.py lines 108–113
def lc_secrets(self) -> dict[str, str]:
"""Mapping of secret keys to environment variables."""
return {
"openai_api_key": "AZURE_OPENAI_API_KEY",
"azure_ad_token": "AZURE_OPENAI_AD_TOKEN",
}
Domain
Subdomains
Source
Frequently Asked Questions
What does lc_secrets() do?
lc_secrets() is a function in the langchain codebase, defined in libs/partners/openai/langchain_openai/llms/azure.py.
Where is lc_secrets() defined?
lc_secrets() is defined in libs/partners/openai/langchain_openai/llms/azure.py at line 108.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free