TestAzureOpenAIResponses Class — langchain Architecture
Architecture documentation for the TestAzureOpenAIResponses class in test_azure_standard.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD b64c6267_b94f_4786_4a82_50383ec4940c["TestAzureOpenAIResponses"] 971e928f_9c9b_ce7a_b93d_e762f2f5aa54["ChatModelIntegrationTests"] b64c6267_b94f_4786_4a82_50383ec4940c -->|extends| 971e928f_9c9b_ce7a_b93d_e762f2f5aa54 ac889e67_03a0_d6e2_5187_ffd0c9db2d7f["test_azure_standard.py"] b64c6267_b94f_4786_4a82_50383ec4940c -->|defined in| ac889e67_03a0_d6e2_5187_ffd0c9db2d7f 15fb19f1_7da0_09e8_9b68_72f940381463["chat_model_class()"] b64c6267_b94f_4786_4a82_50383ec4940c -->|method| 15fb19f1_7da0_09e8_9b68_72f940381463 5045794b_2452_a535_0bb8_a29acb03f5df["chat_model_params()"] b64c6267_b94f_4786_4a82_50383ec4940c -->|method| 5045794b_2452_a535_0bb8_a29acb03f5df 3922396d_fa18_9450_4a98_7f5ecf5cab62["supports_image_inputs()"] b64c6267_b94f_4786_4a82_50383ec4940c -->|method| 3922396d_fa18_9450_4a98_7f5ecf5cab62 0610df15_a132_fb69_dbb4_f6bad617e7b3["supports_image_urls()"] b64c6267_b94f_4786_4a82_50383ec4940c -->|method| 0610df15_a132_fb69_dbb4_f6bad617e7b3 9f1d000c_ae15_75ba_078e_5401313e7a6c["supports_json_mode()"] b64c6267_b94f_4786_4a82_50383ec4940c -->|method| 9f1d000c_ae15_75ba_078e_5401313e7a6c 575ad31b_6b54_006f_3849_330482e53b59["test_stop_sequence()"] b64c6267_b94f_4786_4a82_50383ec4940c -->|method| 575ad31b_6b54_006f_3849_330482e53b59
Relationship Graph
Source Code
libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py lines 41–69
class TestAzureOpenAIResponses(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,
"use_responses_api": True,
}
@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
@pytest.mark.xfail(reason="Unsupported.")
def test_stop_sequence(self, model: BaseChatModel) -> None:
super().test_stop_sequence(model)
Extends
Source
Frequently Asked Questions
What is the TestAzureOpenAIResponses class?
TestAzureOpenAIResponses is a class in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py.
Where is TestAzureOpenAIResponses defined?
TestAzureOpenAIResponses is defined in libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py at line 41.
What does TestAzureOpenAIResponses extend?
TestAzureOpenAIResponses extends ChatModelIntegrationTests.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free