Create decision
Asks questions about one audio file and returns an answer to each, with the run_id of the model run that produced them. Each answer estimates how human raters would respond, so you choose the thresholds for acting on it.
All the questions in a request are answered in one model inference, so an answer can change when other questions are added, removed or reordered. To compare answers across recordings, send the same questions in the same order. To evaluate several files, send one request per file.
Authentication
Request
The request part: the questions to answer and optional context.
The questions to answer: at most 20 noul, choice and score questions together, and at most 5 span questions. Each key is a question ID you choose, such as agent_tone, and can be any non-empty string of up to 256 characters. The response returns each answer under the same ID.
The audio file, MP3 or WAV, in a part named file.
Response
The answer to each question, keyed by question ID, and the run_id of the model run that produced the answers.
The answer to a noul question.
The answer to a choice question.
The answer to a score question.
The answer to a span question.
The input tokens this request is billed. POST /v0/decisions/file/input_tokens estimates them before a request is sent.