supports_json_mode() — langchain Function Reference
Architecture documentation for the supports_json_mode() function in chat_models.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 7e947bd2_da32_eb91_72e0_ac268f5fb424["supports_json_mode()"] 93a85b25_a139_159d_bcf5_03a6e2ed4dd3["ChatModelTests"] 7e947bd2_da32_eb91_72e0_ac268f5fb424 -->|defined in| 93a85b25_a139_159d_bcf5_03a6e2ed4dd3 style 7e947bd2_da32_eb91_72e0_ac268f5fb424 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/standard-tests/langchain_tests/unit_tests/chat_models.py lines 140–142
def supports_json_mode(self) -> bool:
"""Whether the chat model supports JSON mode."""
return False
Domain
Subdomains
Source
Frequently Asked Questions
What does supports_json_mode() do?
supports_json_mode() is a function in the langchain codebase, defined in libs/standard-tests/langchain_tests/unit_tests/chat_models.py.
Where is supports_json_mode() defined?
supports_json_mode() is defined in libs/standard-tests/langchain_tests/unit_tests/chat_models.py at line 140.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free