Home / Function/ chat_model_class() — langchain Function Reference

chat_model_class() — langchain Function Reference

Architecture documentation for the chat_model_class() function in test_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  741b5874_bfe3_cc5e_e16e_8a030f593b5f["chat_model_class()"]
  c3a3c277_9cf7_2326_165f_554aee9ad2a1["TestAnthropicStandard"]
  741b5874_bfe3_cc5e_e16e_8a030f593b5f -->|defined in| c3a3c277_9cf7_2326_165f_554aee9ad2a1
  548c41c6_0917_8fc3_bbfd_822025b4bbe3["test_native_structured_output()"]
  548c41c6_0917_8fc3_bbfd_822025b4bbe3 -->|calls| 741b5874_bfe3_cc5e_e16e_8a030f593b5f
  f88e955b_6c42_0dc3_4ef9_fe7fc537122c["test_native_structured_output_async()"]
  f88e955b_6c42_0dc3_4ef9_fe7fc537122c -->|calls| 741b5874_bfe3_cc5e_e16e_8a030f593b5f
  style 741b5874_bfe3_cc5e_e16e_8a030f593b5f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/integration_tests/test_standard.py lines 22–23

    def chat_model_class(self) -> type[BaseChatModel]:
        return ChatAnthropic

Domain

Subdomains

Frequently Asked Questions

What does chat_model_class() do?
chat_model_class() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/integration_tests/test_standard.py.
Where is chat_model_class() defined?
chat_model_class() is defined in libs/partners/anthropic/tests/integration_tests/test_standard.py at line 22.
What calls chat_model_class()?
chat_model_class() is called by 2 function(s): test_native_structured_output, test_native_structured_output_async.

Analyze Your Own Codebase

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

Try Supermodel Free