LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithevaluationEvaluationResult
Type●Since v0.2

EvaluationResult

Represents the result of an evaluation.

Copy
EvaluationResult

Used in Docs

  • How to define a code evaluator
  • How to define a summary evaluator
  • How to evaluate agents
  • How to evaluate an application's intermediate steps
  • How to fetch performance metrics for an experiment

Properties

property
comment: string

A comment associated with the evaluation result.

property
correction: Record<string, unknown>

A correction record associated with the evaluation result.

property
evaluatorInfo: Record<string, unknown>

Information about the evaluator.

property
feedbackConfig: FeedbackConfig

The feedback config associated with the evaluation result. If set, this will be used to define how a feedback key should be interpreted.

property
key: string

The key associated with the evaluation result.

property
score: ScoreType

The score of the evaluation result.

property
sourceRunId: string

The source run ID of the evaluation result. If set, a link to the source run will be available in the UI.

property
targetRunId: string

The target run ID of the evaluation result. If this is not set, the target run ID is assumed to be the root of the trace.

property
value: ValueType

The value of the evaluation result.

View source on GitHub