EvaluatorCallbackHandler(
self,
evaluators: Sequence[langsmith.RunEvaluator],
client: langsmith.Client |Run on retry.
Whether to raise an error if an exception occurs.
Whether to run the callback inline.
Whether to ignore LLM callbacks.
Whether to ignore retry callbacks.
Whether to ignore chain callbacks.
Whether to ignore agent callbacks.
Whether to ignore retriever callbacks.
Whether to ignore chat model callbacks.
Ignore custom event.
| Name | Type | Description |
|---|---|---|
evaluators* | Sequence[langsmith.RunEvaluator] | The run evaluators to apply to all top level runs. |
client | langsmith.Client | None | Default: NoneThe LangSmith client instance to use for evaluating the runs. If not specified, a new instance will be created. |
example_id | UUID | str | None | Default: None |
skip_unfinished | bool | Default: True |
project_name | str | None | Default: 'evaluators' |
max_concurrency | int | None | Default: None |
Tracer that runs a run evaluator whenever a run is persisted.
The example ID to be associated with the runs.
Whether to skip unfinished runs.
The LangSmith project name to be organize eval chain runs under.
The maximum number of concurrent evaluators to run.