output_keys() — langchain Function Reference
Architecture documentation for the output_keys() function in trajectory_eval_chain.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD e0c15531_fbc6_bd72_3798_2599799e568d["output_keys()"] 9066f65c_c5a3_1534_5336_72609f4ff02b["TrajectoryEvalChain"] e0c15531_fbc6_bd72_3798_2599799e568d -->|defined in| 9066f65c_c5a3_1534_5336_72609f4ff02b style e0c15531_fbc6_bd72_3798_2599799e568d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/evaluation/agents/trajectory_eval_chain.py lines 267–273
def output_keys(self) -> list[str]:
"""Get the output keys for the chain.
Returns:
The output keys.
"""
return ["score", "reasoning"]
Domain
Subdomains
Source
Frequently Asked Questions
What does output_keys() do?
output_keys() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/evaluation/agents/trajectory_eval_chain.py.
Where is output_keys() defined?
output_keys() is defined in libs/langchain/langchain_classic/evaluation/agents/trajectory_eval_chain.py at line 267.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free