This is a simple python script that reads a whatsapp chat file and summarizes it. It uses Gemini to summarize the chat, while anonymizing the names of the participants.
- Export the chat from whatsapp
- Run the script in
main.py - Enter the path to the chat file
- The script will generate a summary of the chat
Run the following command to install the requirements:
pip install -r requirements.txtCreate a .env file in the root directory with the following content:
GEMINI_API_KEY=YOUR_API_KEY