Welcome to the repository for the Personal Assistant Chatbot project. This chatbot is designed to assist users in various tasks using the Google Generative AI API. It serves as a general-purpose chatbot that you can integrate directly into your projects and further train according to specific requirements.
This project implements a conversational chatbot that leverages the capabilities of Google Generative AI for natural language processing. Users can interact with the chatbot by inputting messages, receiving responses, and terminating the chat seamlessly with the 'exit' command.
- Python
google.generativeai
librarydotenv
library
- Clone the repository
- Install dependencies
- Create a .env file in the project directory and add your Google Generative AI API key:PALM_API_KEY=your_api_key_here
- Run the chatbot:python chatbot.py
- Type your messages to interact with the chatbot.
- Use 'exit' to end the chat.
- Real-time chat functionality.
- Natural language understanding with Google Generative AI.
- User-friendly termination with the 'exit' command. Customizable for Projects: Integrate the chatbot directly into your projects and further train it according to specific requirements.
- Token Limit: The max token limit for this model with the free Google API is 400 tokens. For increased token limits, consider upgrading your API subscription.
- Feel free to contribute to the project by opening issues or submitting pull requests. Contributions are welcome !