This project automates the creation of structured notes using Ollama and the Mistral language model. It reads a .txt file containing topics separated by commas, sends each topic as a prompt to the Mistral model, and generates well-organized notes.
- Read topics from a
.txtfile - Generate detailed notes using the Mistral model via Ollama
- Print notes directly in the output or save them to a file (
generated_notes.txt) - Simple, flexible, and easy to use
- Python 3.x
- Ollama installed locally
- Mistral model available in Ollama
- A
.txtfile with topics separated by commas
- Install Ollama and ensure the Mistral model is available.
- Create a file
topics.txtwith topics like:AI, Blockchain, Quantum Computing - Run the script:
python generate_notes.py
- View notes either in the output or in
generated_notes.txt.
Mistral is an advanced Large Language Model (LLM) designed for efficiency and high-quality text generation. It excels in understanding complex topics, structuring information, and creating meaningful summaries.
📂 Project Folder
├── topics.txt # Input topics file
├── generate_notes.py # Python script to process topics
├── generated_notes.txt # (Optional) File where notes are saved
├── README.md # Documentation for the project
- Implement batch processing for efficiency
- Improve prompt engineering for optimized note generation
- Explore additional AI models for specialized topics
- Feel free to send pull requests and contribute to this project
Developed by Vikrant using Ollama + Mistral. Special Thanks To ED Donner