Home / Class/ TestAzureOpenAIStandard Class — langchain Architecture

TestAzureOpenAIStandard Class — langchain Architecture

Architecture documentation for the TestAzureOpenAIStandard class in test_azure_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  ccd33828_62d9_4228_e898_b6ef3cbad771["TestAzureOpenAIStandard"]
  971e928f_9c9b_ce7a_b93d_e762f2f5aa54["ChatModelIntegrationTests"]
  ccd33828_62d9_4228_e898_b6ef3cbad771 -->|extends| 971e928f_9c9b_ce7a_b93d_e762f2f5aa54
  ac889e67_03a0_d6e2_5187_ffd0c9db2d7f["test_azure_standard.py"]
  ccd33828_62d9_4228_e898_b6ef3cbad771 -->|defined in| ac889e67_03a0_d6e2_5187_ffd0c9db2d7f
  00e9f862_502a_b459_3aeb_722a090b92f5["chat_model_class()"]
  ccd33828_62d9_4228_e898_b6ef3cbad771 -->|method| 00e9f862_502a_b459_3aeb_722a090b92f5
  648843f6_534c_6746_962c_85637e0e16f6["chat_model_params()"]
  ccd33828_62d9_4228_e898_b6ef3cbad771 -->|method| 648843f6_534c_6746_962c_85637e0e16f6
  dd70b7f4_c886_7828_526b_3b90f9afbd63["supports_image_inputs()"]
  ccd33828_62d9_4228_e898_b6ef3cbad771 -->|method| dd70b7f4_c886_7828_526b_3b90f9afbd63
  b073251e_93fc_c51a_7460_ab260a6abb84["supports_image_urls()"]
  ccd33828_62d9_4228_e898_b6ef3cbad771 -->|method| b073251e_93fc_c51a_7460_ab260a6abb84
  5bf86c17_4dce_a9c4_c275_76ac06299a4b["supports_json_mode()"]
  ccd33828_62d9_4228_e898_b6ef3cbad771 -->|method| 5bf86c17_4dce_a9c4_c275_76ac06299a4b

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py lines 15–38

class TestAzureOpenAIStandard(ChatModelIntegrationTests):
    @property
    def chat_model_class(self) -> type[BaseChatModel]:
        return AzureChatOpenAI

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

    @property
    def supports_image_inputs(self) -> bool:
        return True

    @property
    def supports_image_urls(self) -> bool:
        return True

    @property
    def supports_json_mode(self) -> bool:
        return True

Frequently Asked Questions

What is the TestAzureOpenAIStandard class?
TestAzureOpenAIStandard is a class in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py.
Where is TestAzureOpenAIStandard defined?
TestAzureOpenAIStandard is defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py at line 15.
What does TestAzureOpenAIStandard extend?
TestAzureOpenAIStandard extends ChatModelIntegrationTests.

Analyze Your Own Codebase

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

Try Supermodel Free