Home / Function/ chat_model_params() — langchain Function Reference

chat_model_params() — langchain Function Reference

Architecture documentation for the chat_model_params() function in test_azure_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  e3a14f49_4c81_31e7_8ca7_365f380c15a0["chat_model_params()"]
  329cdd6c_4ce0_1a70_86f9_d5736cd71ba5["TestAzureOpenAIStandardLegacy"]
  e3a14f49_4c81_31e7_8ca7_365f380c15a0 -->|defined in| 329cdd6c_4ce0_1a70_86f9_d5736cd71ba5
  648843f6_534c_6746_962c_85637e0e16f6["chat_model_params()"]
  648843f6_534c_6746_962c_85637e0e16f6 -->|calls| e3a14f49_4c81_31e7_8ca7_365f380c15a0
  648843f6_534c_6746_962c_85637e0e16f6["chat_model_params()"]
  e3a14f49_4c81_31e7_8ca7_365f380c15a0 -->|calls| 648843f6_534c_6746_962c_85637e0e16f6
  style e3a14f49_4c81_31e7_8ca7_365f380c15a0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py lines 80–85

    def chat_model_params(self) -> dict:
        return {
            "deployment_name": os.environ["AZURE_OPENAI_LEGACY_CHAT_DEPLOYMENT_NAME"],
            "openai_api_version": OPENAI_API_VERSION,
            "azure_endpoint": OPENAI_API_BASE,
        }

Domain

Subdomains

Frequently Asked Questions

What does chat_model_params() do?
chat_model_params() is a function in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py.
Where is chat_model_params() defined?
chat_model_params() is defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py at line 80.
What does chat_model_params() call?
chat_model_params() calls 1 function(s): chat_model_params.
What calls chat_model_params()?
chat_model_params() is called by 1 function(s): chat_model_params.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free