Skip to main content
View module source on GitHub

YieldedOutputTokenUsage

This class represents the token usage of a yielded output. Users can pass custom token usage to the yieldsOutput function.

YieldedOutputCost

This class represents the cost of a yielded output. Users can pass custom cost to the yieldsOutput function.

YieldedOutputMeta

This class represents the meta of a yielded output. Users can pass custom meta to the yieldsOutput function.

YieldedOutput

Yielded output represents the output of yieldsOutput function.

EvaluatorArgs

This class represents the arguments of an evaluator.

EvaluatorConfig

This class represents the config of an evaluator.

TestRun

This class represents a test run.

TestRunEntry

This class represents an entry of a test run.

TestRunWithDatasetEntry

This class represents a test run with a dataset entry.

TestRunStatus

This class represents the status of a test run.

EvaluatorMeanScore

This class represents the mean score of an evaluator. This helps users to specify the score of an custom evaluator.

TestRunTokenUsage

This class represents the token usage of a test run.

TestRunCost

This class represents the cost of a test run.

TestRunLatency

This class represents the latency of a test run.

TestRunResultObj

Object representing a result of a test run.

TestRunResult

This class represents the result of a test run.

RunResult

This class represents the result of a comparison test run.

TestRunLogger

info

Log an informational message. Arguments:

error

Log an error message. Arguments:

TestRunConfig

Configuration for a test run. Attributes: