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 a6a97112_a25d_65f1_e9dc_d700f08fdfb7["input_keys()"] e4f7f49b_0535_9083_f037_071fa164fd67["QAWithSourcesChain"] a6a97112_a25d_65f1_e9dc_d700f08fdfb7 -->|defined in| e4f7f49b_0535_9083_f037_071fa164fd67 2c80858d_42b2_09a5_78a6_40964c5a30d4["input_keys()"] 2c80858d_42b2_09a5_78a6_40964c5a30d4 -->|calls| a6a97112_a25d_65f1_e9dc_d700f08fdfb7 2c80858d_42b2_09a5_78a6_40964c5a30d4["input_keys()"] a6a97112_a25d_65f1_e9dc_d700f08fdfb7 -->|calls| 2c80858d_42b2_09a5_78a6_40964c5a30d4 style a6a97112_a25d_65f1_e9dc_d700f08fdfb7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/qa_with_sources/base.py lines 233–235
def input_keys(self) -> list[str]:
"""Expect input key."""
return [self.input_docs_key, self.question_key]
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does input_keys() do?
input_keys() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/qa_with_sources/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/chains/qa_with_sources/base.py at line 233.
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