This is a web application that uses Google's Generative AI to create a unique user experience. The application has a responsive navigation bar that appears when the mouse is near the edges of the screen.
The main.js
file is responsible for the interactivity of the navigation bars and handling user inputs.
When the mouse moves within 250px of the left or right edge of the screen, the corresponding navigation bar expands to 200px. If the mouse moves away from the edge, the navigation bar contracts.
The sendButton
and clearButton
are used to handle user inputs. The userInput
field is where the user can enter their input.
The application also has a feature to save conversations
. The saved conversations can be accessed from the right navigation bar.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- A modern web browser
- A text editor, such as Visual Studio Code
npm install @google/generative-ai
A step by step series of examples that tell you how to get a development environment running:
- Clone the repository to your local machine
- Open the
main.js
file in your text editor - Open the
index.html
file in your web browser
- Charles Sanders
This project is licensed under the MIT License - see the LICENSE.md
file for details