Home / Function/ output_keys() — langchain Function Reference

output_keys() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8a2729ba_855b_eb10_d62b_d296307bb7ef["output_keys()"]
  d01877d8_1123_f550_8a2f_0981eecde24e["SimpleSequentialChain"]
  8a2729ba_855b_eb10_d62b_d296307bb7ef -->|defined in| d01877d8_1123_f550_8a2f_0981eecde24e
  55a71161_c780_2529_e19a_f9d14914ecef["output_keys()"]
  55a71161_c780_2529_e19a_f9d14914ecef -->|calls| 8a2729ba_855b_eb10_d62b_d296307bb7ef
  55a71161_c780_2529_e19a_f9d14914ecef["output_keys()"]
  8a2729ba_855b_eb10_d62b_d296307bb7ef -->|calls| 55a71161_c780_2529_e19a_f9d14914ecef
  style 8a2729ba_855b_eb10_d62b_d296307bb7ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/sequential.py lines 142–144

    def output_keys(self) -> list[str]:
        """Return output key."""
        return [self.output_key]

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