https://github.com/mohd-faizy/deepchat
A Streamlit-powered Chat Assistant utilizing Ollama's DeepSeek-R1 (1.5B) model for intelligent, context-aware conversations. Designed with an interactive chat interface, adjustable model parameters. It leverages Ollama for local model serving and Streamlit for a responsive UI for text-based interactions.
https://github.com/mohd-faizy/deepchat
deepseek deepseek-chat deepseek-r1 llm ollama python streamlit
Last synced: 2 months ago
JSON representation
A Streamlit-powered Chat Assistant utilizing Ollama's DeepSeek-R1 (1.5B) model for intelligent, context-aware conversations. Designed with an interactive chat interface, adjustable model parameters. It leverages Ollama for local model serving and Streamlit for a responsive UI for text-based interactions.
- Host: GitHub
- URL: https://github.com/mohd-faizy/deepchat
- Owner: mohd-faizy
- License: mit
- Created: 2025-01-30T22:16:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-30T23:08:41.000Z (over 1 year ago)
- Last Synced: 2025-03-28T02:51:44.974Z (about 1 year ago)
- Topics: deepseek, deepseek-chat, deepseek-r1, llm, ollama, python, streamlit
- Language: Python
- Homepage:
- Size: 139 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π€ DeepChat
[](https://github.com/mohd-faizy)
[](https://streamlit.io)
[](https://ollama.ai)
[](https://python.org)
DeepChat is an AI-powered chatbot leveraging `DeepSeek-R1` (1.5B) parameters, built with `Streamlit` and `Ollama` for seamless and interactive conversations.

## Directory Structure
```
deepchat/
βββ app/
β βββ __init__.py
β βββ main.py # Streamlit application
β βββ utils.py # Helper functions
βββ assets
βββ requirements.txt # Python dependencies
βββ .gitignore
βββ README.md
```
## π Quick Start
### Prerequisites
- Python 3.9+
- [Ollama](https://ollama.ai/) installed and running
- DeepSeek-R1 model:
```bash
ollama pull deepseek-r1:1.5b
```
### Installation
1. Clone repository:
```bash
git clone https://github.com/mohd-faizy/DeepChat.git
```
2. Create virtual environment:
```bash
python -m venv venv
```
3. Activate environment:
```bash
# Linux/macOS
source venv/bin/activate
# Windows
.\venv\Scripts\activate
```
4. Install dependencies:
```bash
pip install -r requirements.txt
```
### π₯οΈ Usage
1. Start Ollama service:
```bash
ollama serve
```
2. In a separate terminal, launch the chat interface:
```bash
streamlit run app/main.py
```
## π§ Troubleshooting
**Port Conflict (11434):**
```bash
# Windows
netstat -ano | findstr :11434
taskkill /PID /F
# Linux/macOS
lsof -i :11434
kill -9
```
**Common Issues:**
- Ensure Ollama is running before launching the Streamlit app
- Verify model installation: `ollama list`
- Check firewall settings if experiencing connection issues
## π° Contributing
Contributions are welcome!
## β β€ License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.
## β€οΈ Support
If you find this repository helpful, show your support by starring it! For questions or feedback, reach out on [Twitter(`X`)](https://twitter.com/F4izy).
## πConnect with me
β€ If you have questions or feedback, feel free to reach out!!!
[
][twitter]
[
][linkedin]
[
][Portfolio]
[twitter]: https://twitter.com/F4izy
[linkedin]: https://www.linkedin.com/in/mohd-faizy/
[Portfolio]: https://ai.stackexchange.com/users/36737/faizy?tab=profile
---