Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Chatbot (Offline) using Ollama

This is a ChatGPT-style AI chatbot built using Flask + Ollama, running completely offline on your local system.


🚀 Features

  • 💬 ChatGPT-like UI (glass / modern design)
  • ⚡ Real-time responses from local AI
  • 🧠 Maintains conversation memory
  • ⌨️ Enter key support
  • ⏳ Loading indicator (Typing…)
  • 🔒 Works fully offline (after model download)

🧠 Tech Stack

  • Python (Flask)
  • Ollama (Local LLM)
  • HTML, CSS, JavaScript

⚙️ Requirements

  • Python 3.x
  • Ollama installed

Download Ollama: https://ollama.com


📥 Setup Instructions

1. Install dependencies

pip install flask requests

2. Run Ollama model

ollama run llama3

⚠️ First time requires internet to download the model ✅ After that, it works completely offline


3. Start the Flask app

python app.py

4. Open in browser

http://127.0.0.1:5000

🌐 How it works

  • Frontend sends user message → Flask backend
  • Flask sends request → Ollama (local AI)
  • Ollama generates response → returned to UI

👉 No external APIs 👉 No internet required after setup


⚠️ Disclaimer

This chatbot runs on a local AI model and may produce incorrect answers. Always verify important information.


📌 Note

  • This project works only locally
  • Not deployed online (Ollama runs on local machine)

🙌 Author

Built by Sathish Reddy 🚀

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages