Skip to content

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.

License

Notifications You must be signed in to change notification settings

mohd-faizy/DeepChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 DeepChat

author Streamlit Ollama Python 3.9+

DeepChat is an AI-powered chatbot leveraging DeepSeek-R1 (1.5B) parameters, built with Streamlit and Ollama for seamless and interactive conversations.

Demo

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 installed and running

  • DeepSeek-R1 model:

    ollama pull deepseek-r1:1.5b

Installation

  1. Clone repository:

    git clone https://github.com/mohd-faizy/DeepChat.git
  2. Create virtual environment:

    python -m venv venv
  3. Activate environment:

    # Linux/macOS
    source venv/bin/activate
    
    # Windows
    .\venv\Scripts\activate
  4. Install dependencies:

    pip install -r requirements.txt

🖥️ Usage

  1. Start Ollama service:

    ollama serve
  2. In a separate terminal, launch the chat interface:

    streamlit run app/main.py

🔧 Troubleshooting

Port Conflict (11434):

# Windows
netstat -ano | findstr :11434
taskkill /PID <PID> /F

# Linux/macOS
lsof -i :11434
kill -9 <PID>

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 for details.

❤️ Support

If you find this repository helpful, show your support by starring it! For questions or feedback, reach out on Twitter(X).

🔗Connect with me

➤ If you have questions or feedback, feel free to reach out!!!


About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages