Home / Function/ output_keys() — langchain Function Reference

output_keys() — langchain Function Reference

Architecture documentation for the output_keys() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  892a0ff8_2d4b_e003_39e3_763ec6dffbdc["output_keys()"]
  8c933306_16e9_7f72_a392_80e52d7a7371["RouterChain"]
  892a0ff8_2d4b_e003_39e3_763ec6dffbdc -->|defined in| 8c933306_16e9_7f72_a392_80e52d7a7371
  75d9ee0c_d912_078a_f9b9_d13bdf90be1d["output_keys()"]
  75d9ee0c_d912_078a_f9b9_d13bdf90be1d -->|calls| 892a0ff8_2d4b_e003_39e3_763ec6dffbdc
  75d9ee0c_d912_078a_f9b9_d13bdf90be1d["output_keys()"]
  892a0ff8_2d4b_e003_39e3_763ec6dffbdc -->|calls| 75d9ee0c_d912_078a_f9b9_d13bdf90be1d
  style 892a0ff8_2d4b_e003_39e3_763ec6dffbdc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/router/base.py lines 32–33

    def output_keys(self) -> list[str]:
        return ["destination", "next_inputs"]

Subdomains

Called By

Frequently Asked Questions

What does output_keys() do?
output_keys() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/router/base.py.
Where is output_keys() defined?
output_keys() is defined in libs/langchain/langchain_classic/chains/router/base.py at line 32.
What does output_keys() call?
output_keys() calls 1 function(s): output_keys.
What calls output_keys()?
output_keys() is called by 1 function(s): output_keys.

Analyze Your Own Codebase

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

Try Supermodel Free