This project is a web application utilizing Google's Gemini API for chat interactions. Chat session history is maintained, allowing the model to contextualize responses based on previous interactions.
Users can choose between 3 versions of Gemini:
- Gemini 1.0 Pro
- Gemini 1.5 Flash
(default)
- Gemini 1.5 Pro
I have no plans to deploy this on a server. If anyone wants to replicate it, follow these steps:
- Obtain the API key from Google.
- Create a
.env
file in the project root directory. - Add the API key to the
.env
file with the nameGEMINI_API_KEY
.
Install dependencies
npm install
Start the application
npm start
Build the Docker image
docker build -t projectgem .
Run the Docker container
docker run -d -p 3000:3000 projectgem
This project is licensed under the MIT License.