Test_Run utilities for data models and type definitions used throughout the maxim sdk.
yieldsOutput
function.
yieldsOutput
function.
yieldsOutput
function.
yieldsOutput
function.
Name | Type | Description |
---|---|---|
message | str | The message to be logged. |
Name | Type | Description |
---|---|---|
message | str | The error message to be logged. |
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. |