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.
If you want a Quickstart, see Apply LLMs to audio files.
Basic Q&A example
To ask a question about your audio data, define a prompt with your questions and call the LeMUR Task endpoint. The underlying transcript is used as additional context for the model.
Python SDK
Python
Typescript SDK
Typescript
C#
Ruby
PHP
Example output
Q&A with specialized endpoint
The LeMUR Question & Answer function requires no prompt engineering and facilitates more deterministic and structured outputs. See the code examples below for more information on how to use this endpoint.
Python SDK
Python
Typescript SDK
Typescript
C#
Ruby
PHP
Custom Q&A example (Advanced)
This example shows how you can run a custom LeMUR task with an advanced prompt to create custom Q&A responses:
More Q&A prompt examples
Try any of these prompts to get started:
For more use cases and prompt examples, see LeMUR examples.
API reference
Improve the results
To improve the results, see the following resources:
- Optimize your prompt with the prompt engineering guide.
- To alter the outcome, see Change model and parameters.