An open API service indexing awesome lists of open source software.

https://github.com/tameronline/.ollama


https://github.com/tameronline/.ollama

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Ollama Chatbot

![Ollama Chatbot](img/screenshot.png)

A simple and interactive chatbot powered by **Ollama** and **Llama 3.2**, designed for generating AI-driven responses efficiently.

## 🚀 Features
- Interactive chatbot using **Ollama API**.
- Supports multiple AI models (default: **Llama 3.2**).
- Graceful error handling for seamless performance.
- Lightweight and easy to deploy.

## 📦 Installation

### Prerequisites
Ensure you have the following installed:
- **Python 3.8+**
- **pip**
- **Ollama API access**

### Steps
1. Clone the repository:
```bash
git clone https://github.com/TamerOnLine/tameronline-.ollama.git
```
2. Navigate to the project directory:
```bash
cd tameronline-.ollama
```
3. Install dependencies:
```bash
pip install -r requirements.txt
```

## 🚀 Usage
To start the chatbot, run:
```bash
python src/gen_ai_ollama.py
```

Interact by typing prompts and receiving AI-generated responses.

## ⚙️ Configuration
- To specify a model, enter its name at the start.
- Modify `src/gen_ai_ollama.py` for custom configurations.

## 🏗️ Future Improvements
- **Implement a `Dockerfile`** for containerized deployment.
- **Introduce a `tests/` directory** for unit testing.
- **Add a Web UI** for an enhanced user experience.

## 🤝 Contributing
Contributions are welcome! Please fork the repository and submit a pull request.

## 📜 License
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.

## 📬 Contact
For inquiries or suggestions, reach out to [Tamer Hamad Faour](https://www.linkedin.com/in/tameronline).