PromptEvalScenarioCreateRequest
Adds a scenario to a suite at revision 1 (1.55.0). Every issue is a detail of 422 validation_failed (PromptEvalScenarioIssueCode, promptEvalScenarioIssues). The answer carries caller null, as every write does.
An object with 10 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
caller | PromptEvalCallerInput | yes | Its type equals kind. |
expectations | array of ConversationTestExpectationInput | no | Required, at least one, when scripted. |
initial_slots | PromptEvalInitialSlots | no | The starting slot values (1.63.0); none when omitted. |
kind | PromptEvalScenarioKind | yes | |
max_turns | integer | no | 20 when omitted (a target). |
name | string | yes | A display name. |
rubric | array of PromptEvalRubricItemInput | no | Required, at least one, when simulated. |
tags | array of PromptEvalTag | no | |
tool_mocks | array of PromptEvalToolMockInput | no | |
variables | PromptEvalVariables | no |
Used by
The operations whose parameters, request body or responses name this shape directly.