This project was created as part of our participation in the 18th Student Conference (2026), which took place at Noesis and was organized by the 1st EK of Evosmos. This work was completed by the students Lefteris Trompakas and Asteris Tsiboukas as Kapelo Team, under the supervision of teachers Zoe Belli and George Arnaoutoglou.
What is RAG?
Retrieval-Augmented Generation (or RAG), which loads a specific dataset into an AI model. Without it, a highly intricate and complex model training process would be required. Essentially, RAG converts text into vectors and then splits it into chunks, enabling the model to understand what that information represents. Also you can search more informations in Web
- Go to ollama.com and select a model
- Execute command
ollama run [full model name]--> Exampleollama run ilsp/llama-krikri-8b-instruct:q4_k_m
cd [directory of use]python -m venv venv./venv/bin/pip install --upgrade pip--only at install (one time)./venv/bin/pip install chromadb pypdf python-pptx tqdm requests pytesseract pdf2image pillow mwparserfromhell--only at install (one time)./venv/bin/python Setup.py(Setup file must be in the same folder with cd command)
--model [ollama model name*] --> Example ./venv/bin/python Setup.py --model krikri-gpu:latest
*Ollama model name can be found be the execute of command ollama list
- Support OCR from images, pdfs, pptx
- In the index, a selection is made between sources containing more theory and sources that primarily feature logical content (Mathematics - Computer Science). 'OneTime' refers to the folders containing sources, meaning data that will be added to the model without indexing
- Multithread
- Progress check
- 100% self-host (No API keys required)
Full tree path folder
|-- db/ (ChromaDB database directory) |-- materials/ (Materials/Documents storage) |-- venv/ (Python Virtual Environment) |-- Modelfile (Ollama configuration file) |-- Modelfile.save (Backup configuration file) `-- Setup.py (Main application script)
All this code was written by Claude and Gemini, while the idea and review were done by Kapelo Team, which consists of Lefteris Trompakas and Asteris Tsiboukas.
Python libraries: chromadb, pypdf, python-pptx, tqdm, requests, pytesseract, pdf2image, pillow