Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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/