Home / Function/ input_keys() — langchain Function Reference

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
  cb67b07d_a55a_dccd_2ded_c3147279f0da["input_keys()"]
  9171cff6_74d4_b785_eb4e_31a83af8c002["NatBotChain"]
  cb67b07d_a55a_dccd_2ded_c3147279f0da -->|defined in| 9171cff6_74d4_b785_eb4e_31a83af8c002
  style cb67b07d_a55a_dccd_2ded_c3147279f0da fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/natbot/base.py lines 104–106

    def input_keys(self) -> list[str]:
        """Expect url and browser content."""
        return [self.input_url_key, self.input_browser_content_key]

Subdomains

Frequently Asked Questions

What does input_keys() do?
input_keys() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/natbot/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/chains/natbot/base.py at line 104.

Analyze Your Own Codebase

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

Try Supermodel Free