Home / Function/ get_input_schema() — langchain Function Reference

get_input_schema() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  53bbe973_3e23_5df2_4eec_d9d8c2505596["get_input_schema()"]
  2f364d76_a69d_403d_0a63_04792fe626bb["BaseCombineDocumentsChain"]
  53bbe973_3e23_5df2_4eec_d9d8c2505596 -->|defined in| 2f364d76_a69d_403d_0a63_04792fe626bb
  afdaaf63_cfee_8c11_f9f7_973aaefd26cb["get_input_schema()"]
  afdaaf63_cfee_8c11_f9f7_973aaefd26cb -->|calls| 53bbe973_3e23_5df2_4eec_d9d8c2505596
  afdaaf63_cfee_8c11_f9f7_973aaefd26cb["get_input_schema()"]
  53bbe973_3e23_5df2_4eec_d9d8c2505596 -->|calls| afdaaf63_cfee_8c11_f9f7_973aaefd26cb
  style 53bbe973_3e23_5df2_4eec_d9d8c2505596 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/combine_documents/base.py lines 51–58

    def get_input_schema(
        self,
        config: RunnableConfig | None = None,
    ) -> type[BaseModel]:
        return create_model(
            "CombineDocumentsInput",
            **{self.input_key: (list[Document], None)},
        )

Subdomains

Called By

Frequently Asked Questions

What does get_input_schema() do?
get_input_schema() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/combine_documents/base.py.
Where is get_input_schema() defined?
get_input_schema() is defined in libs/langchain/langchain_classic/chains/combine_documents/base.py at line 51.
What does get_input_schema() call?
get_input_schema() calls 1 function(s): get_input_schema.
What calls get_input_schema()?
get_input_schema() is called by 1 function(s): get_input_schema.

Analyze Your Own Codebase

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

Try Supermodel Free