LeMUR
Extract action items
Use LeMUR to generate a list of action items from a transcript
POST
/
lemur
/
v3
/
generate
/
action-items
Copy
curl --request POST \
--url https://api.assemblyai.com/lemur/v3/generate/action-items \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"transcript_ids": [
"64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce"
],
"context": "This is an interview about wildfires.",
"final_model": "anthropic/claude-3-5-sonnet",
"temperature": 0,
"max_output_size": 3000,
"answer_format": "Bullet Points"
}'
Copy
{
"request_id": "5e1b27c2-691f-4414-8bc5-f14678442f9e",
"usage": {
"input_tokens": 27,
"output_tokens": 3
},
"response": "Here are some potential action items based on the transcript:\n\n- Monitor air quality levels in affected areas and issue warnings as needed.\n\n- Advise vulnerable populations like children, the elderly, and those with respiratory conditions to limit time outdoors.\n\n- Have schools cancel outdoor activities when air quality is poor.\n\n- Educate the public on health impacts of smoke inhalation and precautions to take.\n\n- Track progression of smoke plumes using weather and air quality monitoring systems.\n\n- Coordinate cross-regionally to manage smoke exposure as air masses shift.\n\n- Plan for likely increase in such events due to climate change. Expand monitoring and forecasting capabilities.\n\n- Conduct research to better understand health impacts of wildfire smoke and mitigation strategies.\n\n- Develop strategies to prevent and manage wildfires to limit air quality impacts.\n"
}
Authorizations
Body
application/json
Params to generate action items from transcripts
The body is of type object
.
Response
200
application/json
LeMUR action items response
The response is of type object
.
Copy
curl --request POST \
--url https://api.assemblyai.com/lemur/v3/generate/action-items \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"transcript_ids": [
"64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce"
],
"context": "This is an interview about wildfires.",
"final_model": "anthropic/claude-3-5-sonnet",
"temperature": 0,
"max_output_size": 3000,
"answer_format": "Bullet Points"
}'
Copy
{
"request_id": "5e1b27c2-691f-4414-8bc5-f14678442f9e",
"usage": {
"input_tokens": 27,
"output_tokens": 3
},
"response": "Here are some potential action items based on the transcript:\n\n- Monitor air quality levels in affected areas and issue warnings as needed.\n\n- Advise vulnerable populations like children, the elderly, and those with respiratory conditions to limit time outdoors.\n\n- Have schools cancel outdoor activities when air quality is poor.\n\n- Educate the public on health impacts of smoke inhalation and precautions to take.\n\n- Track progression of smoke plumes using weather and air quality monitoring systems.\n\n- Coordinate cross-regionally to manage smoke exposure as air masses shift.\n\n- Plan for likely increase in such events due to climate change. Expand monitoring and forecasting capabilities.\n\n- Conduct research to better understand health impacts of wildfire smoke and mitigation strategies.\n\n- Develop strategies to prevent and manage wildfires to limit air quality impacts.\n"
}
Assistant
Responses are generated using AI and may contain mistakes.