Home / Function/ input_keys() — langchain Function Reference

input_keys() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8c50a119_1cd3_4545_73b7_ce942f876b6a["input_keys()"]
  c67ceace_d96a_acd7_994d_55c9d0939c8f["QuestionGeneratorChain"]
  8c50a119_1cd3_4545_73b7_ce942f876b6a -->|defined in| c67ceace_d96a_acd7_994d_55c9d0939c8f
  c1caf722_a416_e433_80bb_b0cf8e6ac633["input_keys()"]
  c1caf722_a416_e433_80bb_b0cf8e6ac633 -->|calls| 8c50a119_1cd3_4545_73b7_ce942f876b6a
  c1caf722_a416_e433_80bb_b0cf8e6ac633["input_keys()"]
  8c50a119_1cd3_4545_73b7_ce942f876b6a -->|calls| c1caf722_a416_e433_80bb_b0cf8e6ac633
  style 8c50a119_1cd3_4545_73b7_ce942f876b6a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/flare/base.py lines 53–55

    def input_keys(self) -> list[str]:
        """Input keys for the chain."""
        return ["user_input", "context", "response"]

Subdomains

Calls

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free