A web-based intelligent assistant chatbot built with Flask, styled with a modern HTML/CSS frontend, and powered by the Llama 3 model via Ollama API. It supports multiple modes: Answering, Summarizing, Generating, and Fun Mode.
- 🔍 Answer Mode: Ask any question and get concise responses.
- 📋 Summarize Mode: Paste text and get 3-point summaries.
- ✨ Generate Mode: Generate creative content on demand.
- 😄 Fun Mode: Enjoy witty and humorous replies.
- 💬 Chat UI: Clean, modern conversation interface.
- 👍 Feedback System: Collects user feedback on AI responses.
- Backend: Flask
- Frontend: HTML, CSS, Font Awesome
- LLM Model: Llama 3 via Ollama
- Session Management: Flask
sessionobject - Styling: Responsive and interactive UI with modern CSS
├── app.py # Flask app backend ├── index.html # HTML template for UI ├── requirements.txt # Python dependencies
bash git clone https://github.com/yshivamcodes/llama3-chatbot.git cd llama3-chatbot
bash pip install -r requirements.txt Ensure you have ollama and llama3 model installed locally.
bash python app.py
