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 d4fc55e8_9b79_c443_cdaf_f1005e6c52ac["input_keys()"] be2fab99_c17a_7327_31b8_3526c30ba2b8["BaseConversationalRetrievalChain"] d4fc55e8_9b79_c443_cdaf_f1005e6c52ac -->|defined in| be2fab99_c17a_7327_31b8_3526c30ba2b8 style d4fc55e8_9b79_c443_cdaf_f1005e6c52ac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/conversational_retrieval/base.py lines 112–114
def input_keys(self) -> list[str]:
"""Input keys."""
return ["question", "chat_history"]
Domain
Subdomains
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/conversational_retrieval/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/chains/conversational_retrieval/base.py at line 112.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free