input_keys() — langchain Function Reference
Architecture documentation for the input_keys() function in agent.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 83e4fb9b_394f_22f8_533a_1d7a129c6d1e["input_keys()"] 0d209def_9564_c52d_db1c_fc156804d62d["LLMSingleActionAgent"] 83e4fb9b_394f_22f8_533a_1d7a129c6d1e -->|defined in| 0d209def_9564_c52d_db1c_fc156804d62d style 83e4fb9b_394f_22f8_533a_1d7a129c6d1e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/agents/agent.py lines 626–632
def input_keys(self) -> list[str]:
"""Return the input keys.
Returns:
List of input keys.
"""
return list(set(self.llm_chain.input_keys) - {"intermediate_steps"})
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/agents/agent.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/agents/agent.py at line 626.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free