AI-Afham chatbot is a simple and customizable chatbot web application powered by Google's Generative AI. It provides a user-friendly interface for interacting with the chatbot, and it display Afham's face alongside the conversation.
- User Interface: The application features a clean and responsive user interface with a chat container, user input, and an optional user face image.
- Generative AI: Utilizes Google's Generative AI to generate responses based on user input, creating dynamic and engaging conversations.
- Conversation History: Keeps track of the conversation, allowing users to review past interactions and responses.
- Safety Settings: Implements safety settings to block harmful content using predefined thresholds.
- Open
index.html
in your preferred web browser. - Interact with the chatbot by typing messages in the input field.
- Optionally, customize the chatbot's behavior by modifying the configuration in
chatbot.js
andgenerate-response.js
. - Ensure your Generative AI API key is securely set in the
API_KEY
variable.
You can also access the chatbot online here.
The chatbot's appearance and behavior can be customized to suit your preferences. Feel free to explore and modify the HTML, CSS, and JavaScript files to create a personalized chatbot experience.
Contributions are welcome! If you find any issues or have ideas for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Feel free to use this README template as a starting point for your project. Update it with relevant information and details about your AI-Afham Chatbot.