- Flask Login authentication
- Database for persistence
- Updated UI
- Admin Dashboard
ollama --> flask app --> front end
runs models serves the chatbot interface
front end and
communicates with Ollama
API
** Getting Started:**
- if needed create virtual env:
python3 -m venv venv- & activate it:
source venv/bin/activate - & install dependencies:
pip install -r requirements.txt
- & activate it:
- start ollama manually then make sure it is running:
ollama --version - navigate to main folder:
cd main - run app.py:
python3 app.py - web app should be running on:
localhost:5000
- Functional chatbot interface built with Flask and Js powered by Ollama
- Authentication with Flask Login
- Saves chat history
- Admin Dashboard to manage settings and users
todo:
- dont touch the ui its perfect
- UPDATE README with node module installation
installed moduules:
- marked
- bootstrap css
cmd curl command to prompt ollama api:
curl http://localhost:11434/api/generate -d "{ \"model\": \"gemma:4b-it-qat\", \"prompt\": \"Hello there\"}" -H "Content-Type: application/json"
TODO --> BETA 0.02
- much work
- test thouroughly and find bugs
- logo maybe eventually