https://github.com/alihassanml/ollama-deepseek
https://github.com/alihassanml/ollama-deepseek
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alihassanml/ollama-deepseek
- Owner: alihassanml
- License: mit
- Created: 2025-02-06T18:46:34.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-06T18:52:25.000Z (8 months ago)
- Last Synced: 2025-05-15T04:11:19.161Z (5 months ago)
- Language: Jupyter Notebook
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Ollama DeepSeek - AI Chatbot with LangChain Integration**
A **streamlined AI chatbot** powered by the **Ollama DeepSeek Model** using **LangChain** for advanced conversational AI. This project demonstrates how to build a chatbot where the user can ask questions, and the AI responds using a locally hosted Ollama model.
---
## **🔧 Features**
- **Ollama DeepSeek Model** integration for AI responses.
- **LangChain** framework for sophisticated prompt management.
- **Streamlit** for a sleek, user-friendly interface.
- Chat history with user input displayed in a code block.
- Bot responses are presented in a collapsible dropdown container.---
## **⚡ Prerequisites**
Make sure you have the following installed:- Python 3.7 or higher
- **Streamlit** - For the interactive frontend.
- **Ollama** - For the deep learning model (local).
- **LangChain** - For building custom prompt chains.### **Install dependencies**
You can install the required libraries using `pip`:```bash
pip install streamlit ollama langchain langchain-core
```---
## **🚀 Usage**
1. **Clone the repository**:
```bash
git clone https://github.com/alihassanml/ollama-deepSeek.git
cd ollama-deepSeek
```2. **Run the Streamlit app**:
```bash
streamlit run app.py
```3. The app will launch in your default browser, where you can interact with the **Ollama DeepSeek Model**.
---
## **📝 How it Works**
- **User Input**: The user types a message in the provided input field.
- **Model Prompt**: The input is sent to **LangChain**, which formats the query with a custom prompt.
- **Bot Reply**: The **Ollama model** generates a response, which is shown in a collapsible container in the app.---
## **🛠️ How to Contribute**
Feel free to fork the repository, open issues, or submit pull requests to improve the project. We welcome any suggestions or contributions!
1. Fork the repository.
2. Create a feature branch (`git checkout -b feature-name`).
3. Commit your changes (`git commit -m 'Add feature'`).
4. Push to the branch (`git push origin feature-name`).
5. Open a pull request.---
## **📄 License**
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
## **📞 Contact**
For any queries, you can reach out to the repository owner:
- **Ali Hassan** - [Email](mailto:ali.hassan@example.com)