This Meeting Transcript Summarizer is a pet project I built as part of a writing the following tutorial: Developing a gen AI application using IBM Granite Code.
The code in this repo is a mixture of hand-written and AI generated code. It's here for those of you who are wondering how the application was built and for anyone who wants to use it as a starting point for their own project.
It uses a Flask API, with an HTML/JavaScript UI and a Redis datastore. AI inferencing to generate the meeting transcripts is accomplished via the Ollama API.
- A running Ollama instance.
- A running Redis instance.
Here is an overview of how the Meeting Transcript Manager can be used to summarize meeting transcripts using AI:
-
Install required packages with pip:
pip install -r requirements.txt
-
Run the Flask server:
export FLASK_APP=api/api.py flask run
-
Access the application in your browser at http://localhost:5000/.
-
Click "Choose file" and select a meeting transcript file to upload.
-
The uploaded transcript will be processed and summarized, and the summary will be displayed below the transcript.
-
To view or edit the full transcript, click on the "Read Full Transcript..." link in the summary.
-
To delete a transcript, click on the "Delete" button next to the transcript's timestamp.
-
To update an existing transcript, click on the "Choose file" button and select a new transcript file. Then click "Update".
-
The application will automatically summarize the new transcript and display it below the updated transcript.
The API endpoints of the Meeting Transcript Manager include:
- GET /transcripts: Returns a list of all available meeting transcripts with their creation timestamps.
- GET /transcripts/{transcript_id}: Returns the full details of a specific transcript, including the original file, creation timestamp, and summary.
- DELETE /transcripts/{transcript_id}: Deletes a specific transcript.
- PUT /transcripts/{transcript_id}: Updates a specific transcript with a new file. The updated transcript will be summarized and displayed below.
To run tests for this application, you can use the following commands:
pip install -r test_requirements.txt
pytest