Gemini-ChatBot is an interactive chatbot built using Streamlit and the GenAI Google API. This chatbot allows users to converse with an AI-powered assistant, powered by Google's generative AI technology.
Chatbots have become increasingly popular in various applications, including customer service, virtual assistants, and entertainment. With advancements in AI and natural language processing (NLP), creating chatbots has become more accessible.
This project demonstrates how to leverage the GenAI Google API and Streamlit to build an interactive chatbot. Streamlit is a popular Python library used for creating web applications with simple Python scripts. GenAI Google API provides powerful generative AI capabilities, allowing the chatbot to generate responses based on user input.
- Text Input: Users can input text messages to interact with the chatbot.
- Image Input: Users can upload images and ask questions. (Note: This feature is not fully supported yet.)
- Interactive Interface: Streamlit provides an intuitive and interactive interface for users to engage with the chatbot.
- Safety Settings: The chatbot incorporates safety settings to filter out harmful or inappropriate content.
To run Gemini-ChatBot locally, follow these steps:
- Install Streamlit and required dependencies.
- Obtain a Google API key and configure GenAI.
- Run the Streamlit app using the provided code.
To run the chatbot:
- Clone this repository to your local machine.
- Install the required dependencies using
pip install -r requirements.txt
. - Set up your Google API key and Streamlit secrets.
- Run the Streamlit app using
streamlit run app.py
. - Interact with the chatbot through the web interface.
Here's how you can use Gemini-ChatBot:
- Select "Text" input type.
- Type your question: "What is the capital of France?"
- Wait for the AI assistant to respond with the answer.
- Streamlit: For building the interactive web application.
- GenAI Google API: For leveraging Google's generative AI technology.
- Python: Programming language used for development.
Gemini-ChatBot was created by Pete Ciank, a passionate developer and AI enthusiast. Pete enjoys exploring new technologies and building innovative projects.
- Integration with additional AI models for enhanced conversational capabilities.
- Improved handling of image input for more accurate responses.
- Support for voice input and output.
Feedback and contributions are welcome! If you have any suggestions for improving Gemini-ChatBot or would like to contribute to its development, feel free to reach out to the author.
Gemini-ChatBot offers an engaging and interactive experience for users to interact with AI technology. With its intuitive interface and powerful capabilities, Gemini-ChatBot is a valuable tool for exploring the possibilities of conversational AI.
🤖 Happy chatting with Gemini-ChatBot! 🚀