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
  55a71161_c780_2529_e19a_f9d14914ecef["output_keys()"]
  68ecb97b_8f93_4457_513e_9002d34f708b["SequentialChain"]
  55a71161_c780_2529_e19a_f9d14914ecef -->|defined in| 68ecb97b_8f93_4457_513e_9002d34f708b
  8a2729ba_855b_eb10_d62b_d296307bb7ef["output_keys()"]
  8a2729ba_855b_eb10_d62b_d296307bb7ef -->|calls| 55a71161_c780_2529_e19a_f9d14914ecef
  8a2729ba_855b_eb10_d62b_d296307bb7ef["output_keys()"]
  55a71161_c780_2529_e19a_f9d14914ecef -->|calls| 8a2729ba_855b_eb10_d62b_d296307bb7ef
  style 55a71161_c780_2529_e19a_f9d14914ecef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/sequential.py lines 35–37

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

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