TestStandard Class — langchain Architecture
Architecture documentation for the TestStandard class in test_base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 6116705d_f256_287f_8c24_1038972f5ab8["TestStandard"] 971e928f_9c9b_ce7a_b93d_e762f2f5aa54["ChatModelIntegrationTests"] 6116705d_f256_287f_8c24_1038972f5ab8 -->|extends| 971e928f_9c9b_ce7a_b93d_e762f2f5aa54 5e2f53a9_3eca_02ae_2a24_76cc12a6efaf["test_base.py"] 6116705d_f256_287f_8c24_1038972f5ab8 -->|defined in| 5e2f53a9_3eca_02ae_2a24_76cc12a6efaf 3f04b484_dbf7_b838_3912_4f074bd79a79["chat_model_class()"] 6116705d_f256_287f_8c24_1038972f5ab8 -->|method| 3f04b484_dbf7_b838_3912_4f074bd79a79 b949f152_d67f_a1f6_cea9_a9a940d16ed6["chat_model_params()"] 6116705d_f256_287f_8c24_1038972f5ab8 -->|method| b949f152_d67f_a1f6_cea9_a9a940d16ed6 b8653bd0_6926_2d71_352b_5fc8946e66d7["supports_image_inputs()"] 6116705d_f256_287f_8c24_1038972f5ab8 -->|method| b8653bd0_6926_2d71_352b_5fc8946e66d7 f071914d_b818_4a70_6d88_5a89469f8693["has_tool_calling()"] 6116705d_f256_287f_8c24_1038972f5ab8 -->|method| f071914d_b818_4a70_6d88_5a89469f8693 e4f7837a_89b5_ad91_ae85_9736542f5769["has_structured_output()"] 6116705d_f256_287f_8c24_1038972f5ab8 -->|method| e4f7837a_89b5_ad91_ae85_9736542f5769
Relationship Graph
Source Code
libs/langchain/tests/integration_tests/chat_models/test_base.py lines 40–59
class TestStandard(ChatModelIntegrationTests):
@property
def chat_model_class(self) -> type[BaseChatModel]:
return cast("type[BaseChatModel]", init_chat_model)
@property
def chat_model_params(self) -> dict:
return {"model": "gpt-4o", "configurable_fields": "any"}
@property
def supports_image_inputs(self) -> bool:
return True
@property
def has_tool_calling(self) -> bool:
return True
@property
def has_structured_output(self) -> bool:
return True
Extends
Source
Frequently Asked Questions
What is the TestStandard class?
TestStandard is a class in the langchain codebase, defined in libs/langchain/tests/integration_tests/chat_models/test_base.py.
Where is TestStandard defined?
TestStandard is defined in libs/langchain/tests/integration_tests/chat_models/test_base.py at line 40.
What does TestStandard extend?
TestStandard extends ChatModelIntegrationTests.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free