Ollama Chatbot is a conversational agent powered by AI that allows users to interact with an AI assistant through either a graphical user interface (GUI) or a console interface.
- Graphical User Interface (GUI): Provides a user-friendly interface for interacting with the AI assistant.
- Console Interface: Allows interaction with the AI assistant through the command line interface.
The AI models used in this chatbot are provided by Mistral AI or Ollama AI. The available models are:
- Llama2: A pre-trained AI model for conversation.
- Llama2-Uncensored: A variant of the Llama2 model without content filtering.
These models can be installed locally on a machine capable of running AI models.
- Python 3.x
- Required Python libraries:
- Kivy
- KivyMD
- Requests
- Pyttsx3
-
Clone the repository:
git clone https://github.com/innowaluza/ollama-chatbot.git
-
Install the required Python libraries:
pip install -r requirements.txt
-
Run the
Ollamachat_GUI.py
script:python Ollamachat_GUI.py
-
Type your message in the input field and press "Send" to receive responses from the AI assistant.
-
Run the
Ollamachat_console.py
script:python Ollamachat_console.py
-
Type your message in the console and press Enter to send it to the AI assistant. Type "exit" to end the conversation.
This project is licensed under the MIT License.