Home / Function/ output_keys() — langchain Function Reference

output_keys() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  79ae7ae4_18fa_79aa_3fdb_3aef4f5c8dc6["output_keys()"]
  3ae7eef8_cc33_69bc_5027_f4aeaf44c219["MultiPromptChain"]
  79ae7ae4_18fa_79aa_3fdb_3aef4f5c8dc6 -->|defined in| 3ae7eef8_cc33_69bc_5027_f4aeaf44c219
  style 79ae7ae4_18fa_79aa_3fdb_3aef4f5c8dc6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/router/multi_prompt.py lines 154–155

    def output_keys(self) -> list[str]:
        return ["text"]

Subdomains

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/multi_prompt.py.
Where is output_keys() defined?
output_keys() is defined in libs/langchain/langchain_classic/chains/router/multi_prompt.py at line 154.

Analyze Your Own Codebase

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

Try Supermodel Free