Ask questions using LeMUR

LeMUR is currently not available on the EU endpoint.
Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts. The questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting’s agenda were covered.

Headers

AuthorizationstringRequired

Request

Params to ask questions about the transcripts
final_modelenumRequired
The model that is used for the final prompt after compression is performed.
questionslist of objectsRequired
A list of questions to ask
contextstring or map from strings to anyOptional

Context to provide the model. This can be a string or a free-form JSON value.

input_textstringOptional

Custom formatted transcript data. Maximum size is the context limit of the selected model, which defaults to 100000. Use either transcript_ids or input_text as input into LeMUR.

max_output_sizeintegerOptionalDefaults to 2000
Max output size in tokens, up to 4000
temperaturedoubleOptional
The temperature to use for the model. Higher values result in answers that are more creative, lower values are more conservative. Can be any value between 0.0 and 1.0 inclusive.
transcript_idslist of stringsOptional

A list of completed transcripts with text. Up to a maximum of 100 files or 100 hours, whichever is lower. Use either transcript_ids or input_text as input into LeMUR.

Response

LeMUR question & answer response

request_idstringformat: "uuid"
The ID of the LeMUR request
responselist of objects
The answers generated by LeMUR and their questions
usageobject
The usage numbers for the LeMUR request

Errors