Analyze event video recordings with cloud hosted AI.
Project description
SummarAIze is a Python library for analyzing meeting/event video recordings with cloud hosted AI.
Save time and enhance efficiency by using AI to generate summaries, battle cards, meeting minutes, sales arguments and action item lists directly from recordings. Hone your prompt engineering skills to distill the desired information.
Technology
The video recording is transformed into a text transcript using the FFmpeg library and the OpenAI Whisper speech-to-text model. Then, the OpenAI ChatGPT-4 Turbo model analyzes and summarizes the transcript according to the user's prompt. The user interface (UI) is developed with the Tkinter library, part of the standard Python distribution, and styled using the ttkbootstrap library.
Supported languages
From: https://platform.openai.com/docs/guides/speech-to-text/supported-languages
OpenAI lists the languages that exceeded <50% word error rate (WER), which is an industry standard benchmark for speech to text model accuracy.
Afrikaans, Arabic, Armenian, Azerbaijani, Belarusian, Bosnian, Bulgarian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Italian, Japanese, Kannada, Kazakh, Korean, Latvian, Lithuanian, Macedonian, Malay, Marathi, Maori, Nepali, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swahili, Swedish, Tagalog, Tamil, Thai, Turkish, Ukrainian, Urdu, Vietnamese, and Welsh.
Requirements
- Ffmpeg needs to be installed and set in path. https://ffmpeg.org
- OpenAI API key to access Whisper and GPT4-Turbo models. https://platform.openai.com/docs/quickstart
- Python3.10 or newer
Install Application
python -m pip install summaraize
Install FFmpeg
Mac
brew install ffmpeg
Windows
Follow instructions in this arcticle: https://phoenixnap.com/kb/ffmpeg-windows
Linux
FFmpeg: https://ffmpeg.org//download.html#build-linux
Many Linux python distributions lack tkinter. Use distro package manager to install. Note: Tkinter package name varies between distros.
Run
python -m summaraize
Usage
- Application will ask for OpenAI API key. Provide the API key
- alternatively set OPENAI_API_KEY environment variable
- Application will ask to select language and video recording file
- video recording file is processed into a text transcipt
- this may take several minutes
- Application will ask a prompt to instruct ChatGPT4-turbo to extract the information from the transcript
- this is called prompt engineering
- try different prompts to see what works and what not
- after prompt is ready, application will deliver prompt and the transcript to ChatGPT
- creating summary in most cases takes less than a minute
- Application will show the ChatGPT4-turbo created summary
- you can copy the summary to clipboard or save the summary to a file. ChatGPT answers in markdown (md) format. You can ask bulleted or numbered lists and so on.
- make a new summary by returning to summary view
- application will answer in the language you selected unless you instruct otherwise in prompt
- the application user interface texts are only in english
- Close the application by closing the window
- note application will not save the text transcript
- to analyze other recording file, restart the application
UI themes
Application support UI themes from: https://ttkbootstrap.readthedocs.io/en/latest/themes/
list available themes:
python -m summaraize -h
use a theme by giving theme name as an argument:
python -m summaraize cyborg
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file summaraize-0.4.tar.gz
.
File metadata
- Download URL: summaraize-0.4.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba1adfc65519513234d29eace8f764df4d2ecbf8d072181edeaa16a6c68f9ef0 |
|
MD5 | 128ce4b846a21c6526e53be60aa5cad8 |
|
BLAKE2b-256 | 85dc12bcf35304842342ed9a4c3640ad47c4c9bbc202eea3d010a86d6c5c117b |
File details
Details for the file summaraize-0.4-py3-none-any.whl
.
File metadata
- Download URL: summaraize-0.4-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95e7667b50c1a4b5dd8ea09110290e55708788aac20396fb1732848e15ea8796 |
|
MD5 | 5e4a740cd65ce424d393dfabbb109cbf |
|
BLAKE2b-256 | d6c7cb63a6560567eaa2c2508fc138fd3c8a25602b1360b9382d3ce757c6e5ba |