Home / Function/ get_config_jsonschema() — langchain Function Reference

get_config_jsonschema() — langchain Function Reference

Architecture documentation for the get_config_jsonschema() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  1258d561_7a56_761f_a8ae_cdd373ea7cb1["get_config_jsonschema()"]
  4a62481c_02cb_a5de_1833_50669d5351a6["Runnable"]
  1258d561_7a56_761f_a8ae_cdd373ea7cb1 -->|defined in| 4a62481c_02cb_a5de_1833_50669d5351a6
  4c94bc77_e853_aa1c_d3c6_4a29151af3df["config_schema()"]
  1258d561_7a56_761f_a8ae_cdd373ea7cb1 -->|calls| 4c94bc77_e853_aa1c_d3c6_4a29151af3df
  style 1258d561_7a56_761f_a8ae_cdd373ea7cb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/runnables/base.py lines 568–582

    def get_config_jsonschema(
        self, *, include: Sequence[str] | None = None
    ) -> dict[str, Any]:
        """Get a JSON schema that represents the config of the `Runnable`.

        Args:
            include: A list of fields to include in the config schema.

        Returns:
            A JSON schema that represents the config of the `Runnable`.

        !!! version-added "Added in `langchain-core` 0.3.0"

        """
        return self.config_schema(include=include).model_json_schema()

Domain

Subdomains

Frequently Asked Questions

What does get_config_jsonschema() do?
get_config_jsonschema() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/base.py.
Where is get_config_jsonschema() defined?
get_config_jsonschema() is defined in libs/core/langchain_core/runnables/base.py at line 568.
What does get_config_jsonschema() call?
get_config_jsonschema() calls 1 function(s): config_schema.

Analyze Your Own Codebase

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

Try Supermodel Free