AI Assistant ChatBot is an advanced Python-based virtual assistant (RAG) that supports both voice and text interactions. It features real-time voice recognition, conversational memory, and intelligent document processing. With customizable settings and seamless integration with cutting-edge AI models like Groq and Ollama, it delivers an interactive and efficient user experience through a dynamic and visually appealing GUI.
- ποΈ Chat with your documents (PDFs).
- π Real-time voice recognition.
- πΎ Intelligent memory management.
- π§ Contextual Understanding.
- π¨ Interactive and appealing GUI.
- βοΈ Customizable Parameters.
- π Model Integration (Supports APIs for Groq and Ollama, offering access to advanced AI language models for response generation.).
- π Secure API Management
- π€ User Friendly and Easy to use.
- π€ Personal assistant for day-to-day tasks.
- π Document-based query resolution and management.
- π Research assistant for educational or professional purposes.
- ποΈ Contextual memory retrieval for team collaborations.
- π οΈ Problem Solvings.
- Visit the Groq website and sign up or log in. Groq Website
- Navigate to the API section and generate an API key. (Keep your API key)
- Download and install the Ollama LLM Server from the Ollama website. Ollama Website
- Follow the installation guide for your operating system.
- Download "AI_Assistant_ChatBot" Zip file. For download, click here >>> Zip file
- Extract downloaded file into your local computer drive C: (Drive C)
- Open AI_Assistant_ChatBot folder and Double Click on "ChatBot" shortcut.
NOTE: you can copy it and paste anywhere!
- Click on "Register" button on Login page.
- It will open "Registration" page as below:
-
All text fields are required.
-
Finally! Press "Register" button.
- Login with your created account.
Example:
- After succsessfully login, it will navigate to main ChatBot UI.
- Click on "Add Files" Button and select your documents.
- Click on "Save" button and it will save your PDFs in "doc" folder.
- Click "Vect-Stores" button and it will open new window.
- Choose Chunk size and Chunk overlap settings.
- Then click "Create DB" button.
- You can select Ollama or Groq.
- If you wish to use Ollama, please refer Ollama installation.
- Before using the Groq, click on "Groq Setup" Button.
- Paste you Groq API key into textbox.
- Then click "Save" button and select "Groq" from model engine dropdown menu.
- Click on "Gen-Param" button.
- You can change Temperature, Top-p and Top-k.
- Click "Save" button.
- You can change Role of the bot.
- For do this open your "AI_Assistant_ChatBot" folder.
- Find "system_prompt.txt" file and change it.
- Save system_prompt.txt file.
- Implemented with both text and voice inputs.
- Click "Submit" button to pass the input prompt.
- Use "Clear" button to clear the chat display.
- Click "Activate" button under the Voice Mode.
- For Deactivate it, Click again.
- Python
- Tkinter
- Groq API
- Ollama LLM
- LangChain
- PyPDF2
- HuggingFace Embeddings
- Sentence Transformers
- SpeechRecognition & pyttsx3
- NumPy & SciKit-Learn
- ... ect
I would like to extend my gratitude to the following platforms and tools that made this project possible:
- Groq: For providing cutting-edge APIs and state-of-the-art language models.
- Ollama: For delivering robust and flexible AI models that enhance local processing.
- LangChain Community: For their powerful tools and frameworks to build AI applications.
- Python Community: For the open-source libraries that make development efficient and powerful.

