Home / Class/ JsonSchemaTests Class — langchain Architecture

JsonSchemaTests Class — langchain Architecture

Architecture documentation for the JsonSchemaTests class in test_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  0b5613d7_1b6e_2603_616f_a8f4f461982a["JsonSchemaTests"]
  971e928f_9c9b_ce7a_b93d_e762f2f5aa54["ChatModelIntegrationTests"]
  0b5613d7_1b6e_2603_616f_a8f4f461982a -->|extends| 971e928f_9c9b_ce7a_b93d_e762f2f5aa54
  cccb55dd_44c7_c92f_75a0_aa1cc79fdaed["test_standard.py"]
  0b5613d7_1b6e_2603_616f_a8f4f461982a -->|defined in| cccb55dd_44c7_c92f_75a0_aa1cc79fdaed
  ddd533e4_7660_0d5b_b909_479972002f4b["chat_model_class()"]
  0b5613d7_1b6e_2603_616f_a8f4f461982a -->|method| ddd533e4_7660_0d5b_b909_479972002f4b
  08b5a74c_685d_0964_a465_90c76dc2612d["chat_model_params()"]
  0b5613d7_1b6e_2603_616f_a8f4f461982a -->|method| 08b5a74c_685d_0964_a465_90c76dc2612d
  9f0e1a09_5cde_4010_b9c2_3e791f45b48c["structured_output_kwargs()"]
  0b5613d7_1b6e_2603_616f_a8f4f461982a -->|method| 9f0e1a09_5cde_4010_b9c2_3e791f45b48c

Relationship Graph

Source Code

libs/partners/groq/tests/integration_tests/test_standard.py lines 57–68

    class JsonSchemaTests(ChatModelIntegrationTests):
        @property
        def chat_model_class(self) -> type[ChatGroq]:
            return ChatGroq

        @property
        def chat_model_params(self) -> dict:
            return {"model": "openai/gpt-oss-120b", "rate_limiter": rate_limiter}

        @property
        def structured_output_kwargs(self) -> dict:
            return {"method": "json_schema"}

Frequently Asked Questions

What is the JsonSchemaTests class?
JsonSchemaTests is a class in the langchain codebase, defined in libs/partners/groq/tests/integration_tests/test_standard.py.
Where is JsonSchemaTests defined?
JsonSchemaTests is defined in libs/partners/groq/tests/integration_tests/test_standard.py at line 57.
What does JsonSchemaTests extend?
JsonSchemaTests extends ChatModelIntegrationTests.

Analyze Your Own Codebase

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

Try Supermodel Free