Overview
This guide provides comprehensive documentation for uploading transcripts to Coval for conversation evaluation. Coval supports multiple formats.Video Tutorial
Required Fields
Essential transcript fields:
role: Must be one of"user","assistant","system", or"tool"content: The actual message content (string)beginning: Index position in the conversation (number)end: End position in the conversation (number)
Optional Fields
start_timestamp: Unix timestamp for when the message started (number)end_timestamp: Unix timestamp for when the message ended (number)error: Error message if transcription failed (string)transcriptionError: Boolean flag indicating transcription errorname: Name identifier for the message (string)
Supported Formats
- OpenAI Format (Recommended)
- Extended Studio Format
- Raw Text Format
The system primarily expects transcripts in OpenAI’s chat completion format:
Tool Call Messages
For tool call messages, thecontent field should contain a JSON string that can be parsed to extract tool information.
Tool Call Content Examples
Alternative Tool Call Formats
The system supports these formats in thecontent field:
- Function format:
{"function": "name", "arguments": {...}} - Tool format:
{"tool": "name", ...}(other fields become arguments) - Custom backend format:
{tool_call: name, arguments: {...}}
Validation Rules
Content Limits
Role Validation
- Only
"user","assistant","system", and"tool"roles are accepted - Each message must have
role,content,start_time, andend_timefields start_timeandend_timemust be float values representing seconds
Role Normalization
For monitoring and evaluation purposes, roles may be normalized:"system"messages with tool call content may be treated as"tool"for display purposes- Tool calls in
"system"role are automatically detected and parsed - The UI will display tool calls with appropriate icons and formatting regardless of the original role
Timing Validation
beginningandendvalues should be sequential integersstart_timestampandend_timestampshould be valid Unix timestamps- If timestamps are provided,
end_timestampshould be greater thanstart_timestamp
Audio Requirements
When uploading audio files, the channel mapping determines speaker roles:| Channel | Position | Role |
|---|---|---|
| Channel 0 | Left | Agent |
| Channel 1 | Right | User |

