Skip to content

RepellentSpy/Gemini-API-Text-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini API Text Implementation

What is this?

Since Gemini is now readily available to developers, I have decided to create an easy to modify template to use the Gemini API for text output

How does it work?

If you want to use the Gemini API with my text template, simply edit the main.js file and add your own API key which you can get on Google's AI Studio website. I recommend expanding on it since this template merely serves as a starting point for your project.

Current limitations

  1. This implementation does not send context to the API, meaning each question is as if you were asking the API a completely new question. It does not remember any previous questions.
  2. The API is currently not accessible from within the European Union. For you or your EU users to access it, they would need a VPN.



Huge props to Google for the Gemini API and the starter template which this project is based on