ai_sandbox/speech-speech/README.md

36 lines
521 B
Markdown

# Speech to Speech AI Assistant
AI assistant chat with speech recognition and tts responses
Fullstack
- Vite, TS, React frontend
- fastapi backend
- OpenAI for LLM services
## Requirements
- python3
- npm
- OpenAI API token
## Setup
```
cd frontend
npm install
npm run build
cd ../backend
# optionally setup virtual environment of your choice
python3 -m pip install -r requirements.txt
```
# Running
example `backend/.env`
```
OPEN_API_KEY=<apikey>
```
```
cd backend
source .env
uvicorn --port 8080 api:app
```