Chat demo developed using Google AI Gemini API. https://ai.google.dev/
# 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
{
"python.terminal.activateEnvironment": true
}
pip install -r requirements.txt
copy .env.example
and rename, or create new .env
file
# Google api key
GOOGLE_API_KEY=ai_api_key_xxxxxxx
uvicorn main:app --reload
npx eslint . --fix --ext .js,.vue