YieldedOutputTokenUsage
yieldsOutput function.
YieldedOutputCost
yieldsOutput function.
YieldedOutputMeta
yieldsOutput function.
YieldedOutput
yieldsOutput function.
EvaluatorArgs
EvaluatorConfig
TestRun
TestRunEntry
TestRunWithDatasetEntry
TestRunStatus
EvaluatorMeanScore
TestRunTokenUsage
TestRunCost
TestRunLatency
TestRunResultObj
TestRunResult
RunResult
TestRunLogger
info
| Name | Type | Description |
|---|---|---|
message | str | The message to be logged. |
error
| Name | Type | Description |
|---|---|---|
message | str | The error message to be logged. |
TestRunConfig
| Name | Type | Description |
|---|---|---|
base_url | str | The base URL for the API. |
api_key | str | The API key for authentication. |
in_workspace_id | str | The ID of the workspace. |
workflow_id | Optional[str] | The ID of the workflow. |
prompt_version_id | Optional[str] | The ID of the prompt version. |
prompt_chain_version_id | Optional[str] | The ID of the prompt chain version. |
name | str | The name of the test run. |
data_structure | Optional[T] | The structure of the test data. |
data | Optional[Union[str, DataValue[T], Callable[[int], Optional[DataValue[T]]]]] | The test data or a function to retrieve it. |
test_config_id | Optional[str] | The ID of the test configuration. |
platform_evaluators | List[PlatformEvaluatorType[T]] | List of platform evaluators to use. |