Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/capricorncd/gemini-chat-google-ai
Chat demo developed using Google AI Gemini API
https://github.com/capricorncd/gemini-chat-google-ai
ai chatbot gemini gemini-api google google-ai google-generativeai python3 vue3 vutify
Last synced: 8 days ago
JSON representation
Chat demo developed using Google AI Gemini API
- Host: GitHub
- URL: https://github.com/capricorncd/gemini-chat-google-ai
- Owner: capricorncd
- License: mit
- Created: 2023-12-17T12:39:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-12T12:30:30.000Z (7 months ago)
- Last Synced: 2024-05-12T13:39:32.437Z (7 months ago)
- Topics: ai, chatbot, gemini, gemini-api, google, google-ai, google-generativeai, python3, vue3, vutify
- Language: JavaScript
- Homepage:
- Size: 610 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gemini-chat-google-ai
Chat demo developed using Google AI Gemini API. https://ai.google.dev/
![chat-google-gemini](./ui.png)
## Setup
### Create and enable virtual environments
```bash
# create
python -m venv .venv# enable
# Mac
source .venv/bin/activate
# Windows
.venv\Scripts\activate# Mac log
(.venv) (base) username@PC-name folder-name
```or VSCode settings
Create or update `.vscode/settings.json`
```json
{
"python.terminal.activateEnvironment": true
}
```### Install dependencies
```bash
pip install -r requirements.txt
```### Create `.env` file
copy `.env.example` and rename, or create new `.env` file
```
# Google api key
GOOGLE_API_KEY=ai_api_key_xxxxxxx
```### Start service
```bash
uvicorn main:app --reload
```## Code Style
```bash
npx eslint . --fix --ext .js,.vue
```## Other
https://vuejs.org/
https://vuetifyjs.com/