LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithevaluationevaluatorDynamicRunEvaluatoraevaluate_run
Method●Since v0.1

aevaluate_run

Copy
aevaluate_run(
  self,
  run: Run,
  example: Optional[Example] = None,
  evaluator_run_id: 
View source on GitHub
Optional
[
uuid
.
UUID
]
=
None
)

Parameters

NameTypeDescription
run*Run
exampleOptional[Example]
Default:None

Evaluate a run asynchronously using the wrapped async function.

This method directly invokes the wrapped async function with the provided arguments.

The run to be evaluated.

An optional example to be used in the evaluation.