Evaluators
Create from transcript
Create Evaluator from Transcript API
Create a new evaluator for a specific agent using an existing conversation transcript.
API Endpoint
Method | Endpoint |
---|---|
POST | https://new-prod.vocera.ai/test_framework/v1/scenarios-external/create_scenario_from_transcript/ |
Authentication
Include your API key in the request headers:
Header | Description |
---|---|
X-VOCERA-API-KEY | Your API key obtained from the dashboard |
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
agent | integer | Yes* | ID of the agent |
assistant_id | string | Yes* | The assistant ID associated with agent |
name | string | No | Name of the evaluator |
personality | integer | No | ID of the personality to use |
expected_outcome_prompt | string | No | Prompt to evaluate expected outcome |
transcript_json | array | Yes | Transcript in JSON format |
* Only either of agent
or assistant_id
is required
Example Request
Response
A successful request returns the created evaluator details.
Response Fields
Field | Type | Description |
---|---|---|
id | integer | Unique identifier for the evaluator |
name | string | Name of the evaluator |
personality_name | string | Human-readable name of the personality |
expected_outcome_prompt | string | Prompt to evaluate expected outcome |
instructions | string | Auto-generated instructions based on the transcript |