Skip to content

A web application powered by Google's Gemini API for interactive chat experiences. Users can engage with AI models, including the ability for models to remember past conversations, enhancing contextual responses

License

Notifications You must be signed in to change notification settings

adistrim/projectGem

Repository files navigation

ProjectGem

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:

  1. Gemini 1.0 Pro
  2. Gemini 1.5 Flash (default)
  3. Gemini 1.5 Pro

Running the Application

I have no plans to deploy this on a server. If anyone wants to replicate it, follow these steps:

  1. Obtain the API key from Google.
  2. Create a .env file in the project root directory.
  3. Add the API key to the .env file with the name GEMINI_API_KEY.

Running with npm

Install dependencies

npm install

Start the application

npm start

Running with Docker

Build the Docker image

docker build -t projectgem .

Run the Docker container

docker run -d -p 3000:3000 projectgem

Contributions are welcome!

License

This project is licensed under the MIT License.

About

A web application powered by Google's Gemini API for interactive chat experiences. Users can engage with AI models, including the ability for models to remember past conversations, enhancing contextual responses

Topics

Resources

License

Stars

Watchers

Forks