Run a task using LeMUR

POST {{baseUrl}}/lemur/v3/generate/task

Use the LeMUR task endpoint to input your own LLM prompt.

Request Body

{"transcript_ids"=>["64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce"], "context"=>"This is an interview about wildfires.", "final_model"=>"default", "max_output_size"=>3000, "temperature"=>0, "prompt"=>"List all the locations affected by wildfires."}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring

RESPONSES

status: OK

{"request_id":"5e1b27c2-691f-4414-8bc5-f14678442f9e","usage":{"input_tokens":27,"output_tokens":3},"response":"Based on the transcript, the following locations were mentioned as being affected by wildfire smoke from Canada:\n\n- Maine\n- Maryland\n- Minnesota\n- Mid Atlantic region\n- Northeast region\n- New York City\n- Baltimore\n"}