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

https://github.com/eniompw/geminiapi

Simple ChatGPT Clone
https://github.com/eniompw/geminiapi

chatgpt gemini llm vercel

Last synced: about 1 month ago
JSON representation

Simple ChatGPT Clone

Awesome Lists containing this project

README

          

# Gemini API

Simple Gemini API Test

Based on:
* [Simple Python Demo](https://github.com/eniompw/GeminiAPI/blob/main/dev/python.py)
* [LLM Vercel Groq](https://github.com/eniompw/LLMVercelGroq)

## Setup API Key Environment Variable
```
echo 'export GOOGLE_API_KEY=AI...' >> ~/.bashrc
source ~/.bashrc
```

Ref:
* [Gemini API Docs REST](https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=rest#text-only_input)
* [Gemini API Docs Python SDK](https://ai.google.dev/gemini-api/docs/quickstart?lang=python#initialize-generative)
* [Gemini File API](https://github.com/google-gemini/cookbook/blob/main/quickstarts/File_API.ipynb)
* [W3 Progress Bar](https://www.w3schools.com/howto/howto_js_progressbar.asp)