Summarize your audio data
In this guide, you’ll learn how to use LeMUR to summarize your audio data with key takeaways.
If you want a Quickstart, see Apply LLMs to audio files.
Before you start
To use LeMUR, you need an AssemblyAI account with a credit card set up.
Basic summary example
If you want to send a custom prompt to the LLM, you can use the LeMUR Task endpoint to apply the model to your transcribed audio files.
Python SDK
Python
Typescript SDK
Typescript
C#
Ruby
PHP
Example output
Summary with specialized endpoint
The LeMUR Summary endpoint 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.
You can add additional context to provide information that is not explicitly referenced in the audio data, as well as specify an answer format. For this, use the optional parameters context
and answer_format
.
Python SDK
Python
Typescript SDK
Typescript
C#
Ruby
PHP
Custom summary example (Advanced)
In this example, we’ll run a custom LeMUR task with an advanced prompt to create custom summaries:
More summarization 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.