Skip to content

This project is a simple chatbot interface powered by Deepseek R1 and Ollama, built using Streamlit. It allows users to input a prompt and receive AI-generated responses in real time. The chatbot communicates with an Ollama API running locally.

Notifications You must be signed in to change notification settings

hawanbeats/ai_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’‘ Deepseek R1 Chatbot

This project is a chatbot powered by the Deepseek R1 model, built using Streamlit. It leverages the Ollama API to process user inputs and generate real-time responses. πŸš€


πŸ“Œ Features

  • βœ… Interactive chatbot with Streamlit
  • βœ… AI responses using the Deepseek R1 model
  • βœ… Local execution with Ollama API
  • βœ… Real-time conversation support

πŸ› οΈ Installation & Setup

1️⃣ Install Dependencies

First, ensure you have Python and Git installed. Then, create a virtual environment and install the required dependencies:

# Create a virtual environment (optional)
python -m venv myenv
source myenv/bin/activate  # macOS/Linux
myenv\Scripts\activate     # Windows

# Install required packages
pip install streamlit requests

2️⃣ Install Ollama and Deepseek R1 Model

Make sure you have Ollama installed. You can install it using:

# Install Ollama (if not installed)
pip install ollama  # Windows
winget install ollama # Windows
brew install ollama    # macOS

Now, download and run the Deepseek R1 model:

ollama run deepseek-r1

This will start the Ollama API at http://localhost:11434.

3️⃣ Run the Project

Now, you can start the Streamlit application:

streamlit run app.py

Once the server starts, open the generated URL in your browser and start chatting! πŸŽ‰


πŸ”— Technologies Used

  • Python 🐍
  • Streamlit πŸ–₯️
  • Ollama API 🌍
  • Deepseek R1 Model πŸ€–

πŸ’‘ Contributing

If you’d like to contribute:

  • Fork the repository 🍴
  • Add a feature or fix a bug πŸ› οΈ
  • Submit a Pull Request (PR)! πŸš€

πŸ“„ License

This project is licensed under the MIT License. πŸŽ“


How to Add this README to Your GitHub Repository

After creating the README.md file, you can add it to your GitHub repo using:

git add README.md
git commit -m "Added README file πŸ“œ"
git push origin main

About

This project is a simple chatbot interface powered by Deepseek R1 and Ollama, built using Streamlit. It allows users to input a prompt and receive AI-generated responses in real time. The chatbot communicates with an Ollama API running locally.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages