Skip to content

yshivamcodes/AI-Assistant-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI-Assistant-Chatbot

🧠 AI Assistant Chatbot using Llama 3 and Flask

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.

πŸš€ Features

  • πŸ” 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.

🧰 Tech Stack

  • Backend: Flask
  • Frontend: HTML, CSS, Font Awesome
  • LLM Model: Llama 3 via Ollama
  • Session Management: Flask session object
  • Styling: Responsive and interactive UI with modern CSS

πŸ“ Project Structure

β”œβ”€β”€ app.py # Flask app backend β”œβ”€β”€ index.html # HTML template for UI β”œβ”€β”€ requirements.txt # Python dependencies

πŸ”§ Installation & Run

1. Clone the repository

bash git clone https://github.com/yshivamcodes/llama3-chatbot.git cd llama3-chatbot

2. Install dependencies

bash pip install -r requirements.txt Ensure you have ollama and llama3 model installed locally.

3. Run the app

bash python app.py

Screenshots

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published