Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DeepSeek-R1 Chatbot An interactive chatbot powered by DeepSeek-R1, built using Flask. This project provides a simple web-based UI for real-time conversations with the chatbot.

✨ Features Flask-based Web Interface – A lightweight and responsive UI for chatbot interaction. DeepSeek-R1 Integration – Utilizes the DeepSeek-R1 model via the Ollama API. Seamless Communication – Sends user queries to DeepSeek-R1 and retrieves intelligent responses. AJAX-based Interaction – Ensures smooth communication between the frontend and backend. 🛠 Prerequisites Python 3.8 or higher Ollama installed and running locally Required dependencies (see installation steps) 🚀 Installation 1️⃣ Clone the repository:

bash Copy Edit git clone https://github.com/your-username/deepseek-chatbot.git cd deepseek-chatbot 2️⃣ Install dependencies:

bash Copy Edit pip install -r requirements.txt 3️⃣ Start the Ollama service:

bash Copy Edit ollama serve 4️⃣ Run the Flask application:

bash Copy Edit python app.py 5️⃣ Open your browser and visit:

cpp Copy Edit http://127.0.0.1:5000 📂 File Structure php Copy Edit deepseek-chatbot/ │── app.py # Main Flask backend handling API calls │── templates/ │ └── index.html # Frontend interface for chatting │── static/ # Contains CSS, JavaScript, and other assets (if any) │── requirements.txt # List of required Python dependencies 📦 Dependencies This project requires the following Python libraries:

Flask – Web framework Requests – For making API calls Ollama – To communicate with DeepSeek-R1 Install them via:

bash Copy Edit pip install flask requests ollama 🔮 Future Enhancements Support for multiple AI models Improved UI with real-time streaming responses Deployment on a cloud platform (AWS, Azure, Heroku, etc.)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages