Skip to main content
Ctrl+K
🦜️🛠️ LangSmith  documentation - Home 🦜️🛠️ LangSmith  documentation - Home
  • Reference
Ctrl+K
Docs
  • GitHub
  • X / Twitter
Ctrl+K
  • Reference
Docs
  • GitHub
  • X / Twitter

Modules

  • run_evaluator

run_evaluator#

langsmith.evaluation.evaluator.run_evaluator(
func: Callable[[Run, Example | None], EvaluationResult | EvaluationResults | dict | Awaitable[EvaluationResult | EvaluationResults | dict]],
)[source]#

Create a run evaluator from a function.

Decorator that transforms a function into a RunEvaluator.

Parameters:

func (Callable[[Run, Example | None], EvaluationResult | EvaluationResults | dict | Awaitable[EvaluationResult | EvaluationResults | dict]])

On this page
  • run_evaluator()

© Copyright 2024, LangChain Inc.