Home / Function/ input_keys() — langchain Function Reference

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
  048be022_e2f0_2140_7746_31f927713ed6["input_keys()"]
  7467ad05_17d2_2f1a_9d5e_c849d42aa6ad["RunnableMultiActionAgent"]
  048be022_e2f0_2140_7746_31f927713ed6 -->|defined in| 7467ad05_17d2_2f1a_9d5e_c849d42aa6ad
  style 048be022_e2f0_2140_7746_31f927713ed6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/agents/agent.py lines 523–529

    def input_keys(self) -> list[str]:
        """Return the input keys.

        Returns:
            List of input keys.
        """
        return self.input_keys_arg

Subdomains

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 523.

Analyze Your Own Codebase

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

Try Supermodel Free