Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/adistrim/projectgem
- Owner: adistrim
- License: mit
- Created: 2024-05-15T04:55:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T05:07:40.000Z (6 months ago)
- Last Synced: 2024-05-16T21:15:25.749Z (6 months ago)
- Topics: docker, express, gemini-api
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).