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
  dcbd559a_6cd8_c2da_5394_8a063afd22eb["output_keys()"]
  dc2d52f5_736c_0ec2_ad57_0e2fdaa94e04["_EmbeddingDistanceChainMixin"]
  dcbd559a_6cd8_c2da_5394_8a063afd22eb -->|defined in| dc2d52f5_736c_0ec2_ad57_0e2fdaa94e04
  style dcbd559a_6cd8_c2da_5394_8a063afd22eb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/embedding_distance/base.py lines 157–163

    def output_keys(self) -> list[str]:
        """Return the output keys of the chain.

        Returns:
            The output keys.
        """
        return ["score"]

Domain

Subdomains

Frequently Asked Questions

What does output_keys() do?
output_keys() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/evaluation/embedding_distance/base.py.
Where is output_keys() defined?
output_keys() is defined in libs/langchain/langchain_classic/evaluation/embedding_distance/base.py at line 157.

Analyze Your Own Codebase

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

Try Supermodel Free