Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adistrim/projectgem

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
https://github.com/adistrim/projectgem

docker express gemini-api

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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_
```bash
npm install
```
_Start the application_
```bash
npm start
```

### Running with Docker
_Build the Docker image_
```bash
docker build -t projectgem .
```
_Run the Docker container_
```bash
docker run -d -p 3000:3000 projectgem
```

### **Contributions are welcome!**

## License

This project is licensed under the [MIT License](LICENSE).