Automatically generate action items from a meeting with LeMUR

In this guide, you’ll learn how to use AssemblyAI LeMUR to process an audio file and then automatically generate action items from the meeting’s transcript.

Overview

Before we begin, make sure you have an AssemblyAI account and an API key. You can sign up for an AssemblyAI account and get your API key from your dashboard.

LeMUR features are currently only available to paid users at two pricing tiers, LeMUR Default and LeMUR Basic. Refer to our pricing page for more detail.

Step-by-step instructions

In this guide, you’ll use AssemblyAI to transcribe a meeting recording. Then, you’ll request a list of action items from LeMUR.

1

Install the SDK.

1pip install -U assemblyai
2

Import the assemblyai package and set the API key.

1import assemblyai as aai
2
3aai.settings.api_key = "<YOUR_API_KEY>"
3

Create a Transcriber object.

1transcriber = aai.Transcriber()
4

Pass the URL or file path to transcriber.transcribe(). You can access the transcript from the returned transcript object.

1transcript = transcriber.transcribe("meeting.mp3")
5

Define a prompt to tell LeMUR to extract action items from this meeting.

1prompt = """This is a Product team meeting from 2019-07-09.
2 Generate Action Items from the meeting in the following format:
3
4 Action Item Title: A brief, descriptive title that summarizes the action item.
5 Assignee: The person who is responsible for completing the action item.
6 Due Date: The deadline for completing the action item.
7 Status: The current status of the action item (e.g., "In progress", "Completed", "Deferred").
8 Notes: Any additional notes or information about the action item."""
6

Pass your prompt to transcript.lemur.task() and access the response from LeMUR by printing the .response attribute.

1result = transcript.lemur.task(prompt)
2
3print(result.response)

Understanding the response

The result of your LeMUR output should be something like this:

1Action Item Title: Review competitor product features
2Assignee: Connor
3Due Date: 2019-07-16
4Status: In progress
5Notes: Compare our product features against our main competitors. Look for gaps and areas we can improve.
6
7Action Item Title: Plan social media campaign
8Assignee: Rohan
9Due Date: 2019-07-123
10Status: Not started
11Notes: Draft a proposal for an Instagram/Facebook campaign to promote our new product launch.
12
13Action Item Title: Contact suppliers about part shortages
14Assignee: Jason
15Due Date: 2019-07-12
16Status: Completed
17Notes: Reached out to 3 suppliers about expected delivery dates for backordered parts. Parts should arrive by end of month.
18
19Action Item Title: Set up product demo for key customers
20Assignee: Matt
21Due Date: 2019-08-15
22Status: In progress
23Notes: Identify 5-10 key customers to invite to product demo day. Send invites by end of month.
Was this page helpful?
Built with