ai_sandbox/speech-speech
Andrei Stoica 5cc002a110 assistant response is replayable 2024-02-28 11:33:08 -05:00
..
backend cleaning up readmes 2024-02-26 19:58:28 -05:00
frontend assistant response is replayable 2024-02-28 11:33:08 -05:00
README.md cleaning up readmes 2024-02-26 19:58:28 -05:00

README.md

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