A fully local ChatGPT clone built with Python and Streamlit.
Runs 100% on your machine — no API keys, no cloud, no cost, completely private.
- 💬 Real-time streaming — responses appear word by word
- 🔄 Multiple AI models — switch between llama3, mistral, codellama and more
- ⚙️ Custom system prompt — give the AI any personality you want
- 🗑️ Clear chat — reset the conversation anytime
- 🔒 100% Private — your data never leaves your machine
| Tool | Purpose |
|---|---|
| Python | Programming language |
| Streamlit | Web UI framework |
| Ollama | Run AI models locally |
| llama3 | Default AI model |
Download from https://ollama.com and pull a model:
ollama pull llama3git clone https://github.com/ashreyasureddy/my-chatbot.git
cd my-chatbotpython -m venv venv
# Windows
venv\Scripts\activate
# Mac / Linux
source venv/bin/activatepip install -r requirements.txt# Terminal 1 — Start Ollama
ollama serve
# Terminal 2 — Start the app
streamlit run chat.pyhttp://localhost:8501
| Model | Best For | Size |
|---|---|---|
llama3 |
General chat | 4GB |
mistral |
Fast & smart replies | 4GB |
codellama |
Coding help | 4GB |
phi3 |
Quick responses | 2GB |
gemma |
General use | 5GB |
Download any model with:
ollama pull <model-name>Change the AI personality from the sidebar:
Python Tutor:
You are a Python programming tutor. Explain everything
in simple terms with code examples.
Career Coach:
You are an expert career coach. Help users with resume
writing, interview tips, and career advice.
Funny Assistant:
You are a funny assistant who answers every question
with a joke first, then the real answer.
- Python 3.10+
- Ollama 0.3+
- 8GB RAM minimum
- 5GB free disk space
Built by Ashreya Sureddy
GitHub: https://github.com/ashreyasureddy