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 2c80858d_42b2_09a5_78a6_40964c5a30d4["input_keys()"] 5aa1201d_23fd_f122_acb5_563cb1cc3cb3["BaseQAWithSourcesChain"] 2c80858d_42b2_09a5_78a6_40964c5a30d4 -->|defined in| 5aa1201d_23fd_f122_acb5_563cb1cc3cb3 a6a97112_a25d_65f1_e9dc_d700f08fdfb7["input_keys()"] a6a97112_a25d_65f1_e9dc_d700f08fdfb7 -->|calls| 2c80858d_42b2_09a5_78a6_40964c5a30d4 a6a97112_a25d_65f1_e9dc_d700f08fdfb7["input_keys()"] 2c80858d_42b2_09a5_78a6_40964c5a30d4 -->|calls| a6a97112_a25d_65f1_e9dc_d700f08fdfb7 style 2c80858d_42b2_09a5_78a6_40964c5a30d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/qa_with_sources/base.py lines 111–113
def input_keys(self) -> list[str]:
"""Expect input key."""
return [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 111.
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