Home / Function/ evaluation_name() — langchain Function Reference

evaluation_name() — langchain Function Reference

Architecture documentation for the evaluation_name() function in eval_chain.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  e4d24a1f_3fe2_ba94_b9bf_9f5dbe0a870d["evaluation_name()"]
  a58ec485_afe5_c733_6e70_92d4365f961c["ScoreStringEvalChain"]
  e4d24a1f_3fe2_ba94_b9bf_9f5dbe0a870d -->|defined in| a58ec485_afe5_c733_6e70_92d4365f961c
  style e4d24a1f_3fe2_ba94_b9bf_9f5dbe0a870d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/scoring/eval_chain.py lines 215–223

    def evaluation_name(self) -> str:
        """Get the name of the evaluation.

        Returns:
        -------
        str
            The name of the evaluation.
        """
        return f"score_string:{self.criterion_name}"

Domain

Subdomains

Frequently Asked Questions

What does evaluation_name() do?
evaluation_name() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/evaluation/scoring/eval_chain.py.
Where is evaluation_name() defined?
evaluation_name() is defined in libs/langchain/langchain_classic/evaluation/scoring/eval_chain.py at line 215.

Analyze Your Own Codebase

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

Try Supermodel Free