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
- Host: GitHub
- URL: https://github.com/eniompw/geminiapi
- Owner: eniompw
- License: mit
- Created: 2024-05-26T16:31:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T14:07:41.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T10:12:18.956Z (over 1 year ago)
- Topics: chatgpt, gemini, llm, vercel
- Language: Python
- Homepage: https://askme123.vercel.app
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)