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
