Ask questions about your audio data
In this guide, you'll learn how to use LeMUR to ask questions and get answers about your audio data.
tip
If you want a Quickstart, see Apply LLMs to audio files.
Before you start
To use LeMUR, you need an with a credit card set up.
With the LeMUR Task, you can send any prompt to the LLM and apply the model to your transcribed audio files.
To ask question about your audio data, define a prompt with your questions and call transcript.lemur.task()
. The underlying transcript
is automatically used as additional context for the model.
Example output
Based on the transcript, runner's knee is a condition characterized
by pain behind or around the kneecap. It is caused by overuse,
muscle imbalance and inadequate stretching. Symptoms include pain
under or around the kneecap and pain when walking.
Q&A prompt examples
Try any of these prompts to get started:
Question and answer Answer any questions about your audio | "Identify any patterns or trends based on the transcript" |
Closed-ended questions Answer simple yes/no questions | "Did the customer express a positive sentiment in the phone call?" |
Sentiment analysis Assess the emotional sentiment of a conversation | "What was the emotional sentiment of the phone call?" |
For more use cases and prompt examples, see LeMUR examples.
Improve the results
To improve the results, see the following resources:
- Optimize your prompt with the prompt engineering guide.
- To alter the outcome, see Customize LeMUR parameters.
- To get more deterministic and structured outputs for predefined tasks, see Specialized endpoints.