https://github.com/UnnatMalik/CHAT-BOT
This is a AI chat bots made with Ollama LLM using LLama3 model and langchain and other chatbot made using Streamlit and GEMINI 1.5 flash
https://github.com/UnnatMalik/CHAT-BOT
chatbot flet gemini-api llama3 llms ollama python streamlit
Last synced: 5 months ago
JSON representation
This is a AI chat bots made with Ollama LLM using LLama3 model and langchain and other chatbot made using Streamlit and GEMINI 1.5 flash
- Host: GitHub
- URL: https://github.com/UnnatMalik/CHAT-BOT
- Owner: UnnatMalik
- Created: 2024-12-22T14:11:48.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-10T15:27:59.000Z (10 months ago)
- Last Synced: 2025-04-11T03:02:49.558Z (8 months ago)
- Topics: chatbot, flet, gemini-api, llama3, llms, ollama, python, streamlit
- Language: Python
- Homepage:
- Size: 41.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-flet - Bro-Bot-AI - Bro-Bot-AI is your one-stop shop for exploring AI chatbot technologies! (Uncategorized / Uncategorized)
README
# 🤖 Bro-Bot-AI 🤖
[](https://awesome.re)
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[](https://opensource.org/)
## ✨ Overview
Bro-Bot-AI is your one-stop shop for exploring AI chatbot technologies! This repository showcases two distinct chatbot implementations, each leveraging powerful AI models and frameworks:
* **🧠 Llama3 Powered Chatbot (Ollama & Langchain):** Experience the cutting-edge conversational abilities of the Llama3 model, locally hosted with Ollama. Enhanced with Langchain, this chatbot offers advanced features like memory and tool integration.
* **⚡️ GEMINI 1.5 Flash Chatbot (Streamlit):** Interact with a fast and efficient chatbot built using Streamlit for a user-friendly interface and Google's GEMINI 1.5 Flash model for rapid responses. Ideal for quick interactions and prototyping.
## 🚀 Features
* **Ollama/Llama3 Chatbot:**
* Uses the Llama3 model for high-quality conversational AI.
* Leverages Ollama for local model hosting and easy deployment.
* Employs Langchain for advanced features:
* Conversation Memory
* Tool Integration (e.g., web search)
* **Streamlit/GEMINI 1.5 Flash Chatbot:**
* Built with Streamlit for a clean and intuitive user interface.
* Utilizes Google's GEMINI 1.5 Flash for fast and efficient responses.
* Easy to deploy and experiment with.
* Upload and analyze files in real-time.
## 🛠️ Technologies Used
* [Ollama](https://ollama.com/) - For running Llama3 locally
* [Llama3](https://ai.meta.com/llama/) - The powerful language model
* [Langchain](https://www.langchain.com/) - For building complex AI applications
* [Streamlit](https://streamlit.io/) - For creating interactive web apps
* [GEMINI 1.5 Flash](https://ai.google.dev/models/gemini) - Google's fast language model
## ⬇️ Getting Started
### Prerequisites
* **Python 3.9+**
* **Ollama (for Llama3 Chatbot):** Follow the installation instructions on the [Ollama website](https://ollama.com/).
* **Gemini (for Gemini Chatbot):** [Gemini](https://ai.google.dev/gemini-api/docs)
### Installation
1. **Clone the repository:**
```
git clone https://github.com/UnnatMalik/Bro-Bot-AI.git
cd Bro-Bot-AI
```
2. **Install dependencies:**
```
pip install -r requirements.txt
```
### Running the Chatbots
#### Llama3 Chatbot (Ollama & Langchain)
1. **Download the Llama3 model (if you haven't already):**
```
ollama pull llama3
```
2. **Run the chatbot:**
```
python llama3_chatbot.py # Replace with your actual script name
```
#### GEMINI 1.5 Flash Chatbot (Streamlit)
1. **Set your GEMINI API Key:**
```
#Option 1: Set as an environment variable
export GOOGLE_API_KEY="YOUR_API_KEY"
#Option 2: Place directly in the script (Not Recommended for security reasons)
# in home.py (or your script name), replace "YOUR_API_KEY" with your actual key
```
2. **Run the Streamlit app:**
```
streamlit run home.py # Replace with your actual script name
```
## 💬 Contact
For queries, reach out via [LinkedIn](https://www.linkedin.com/in/unnat-malik)