_prepare_evaluator_output() — langchain Function Reference
Architecture documentation for the _prepare_evaluator_output() function in string_run_evaluator.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 2029cd8d_b9d5_3985_a052_b3b4c7b21157["_prepare_evaluator_output()"] 96e174c1_4107_a88b_8d98_3f22e5d7fb20["StringRunEvaluatorChain"] 2029cd8d_b9d5_3985_a052_b3b4c7b21157 -->|defined in| 96e174c1_4107_a88b_8d98_3f22e5d7fb20 d591bff6_3d3a_7aa7_e2e2_5d3743d9a6e0["evaluate_run()"] d591bff6_3d3a_7aa7_e2e2_5d3743d9a6e0 -->|calls| 2029cd8d_b9d5_3985_a052_b3b4c7b21157 06d50400_ec91_85cb_b31e_efcbb4a95671["aevaluate_run()"] 06d50400_ec91_85cb_b31e_efcbb4a95671 -->|calls| 2029cd8d_b9d5_3985_a052_b3b4c7b21157 style 2029cd8d_b9d5_3985_a052_b3b4c7b21157 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/smith/evaluation/string_run_evaluator.py lines 359–363
def _prepare_evaluator_output(self, output: dict[str, Any]) -> EvaluationResult:
feedback: EvaluationResult = output["feedback"]
if RUN_KEY not in feedback.evaluator_info:
feedback.evaluator_info[RUN_KEY] = output[RUN_KEY]
return feedback
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _prepare_evaluator_output() do?
_prepare_evaluator_output() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/smith/evaluation/string_run_evaluator.py.
Where is _prepare_evaluator_output() defined?
_prepare_evaluator_output() is defined in libs/langchain/langchain_classic/smith/evaluation/string_run_evaluator.py at line 359.
What calls _prepare_evaluator_output()?
_prepare_evaluator_output() is called by 2 function(s): aevaluate_run, evaluate_run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free