Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 1.2 KB

README.md

File metadata and controls

75 lines (49 loc) · 1.2 KB

TeachMe

What you'll need to run the frontend:

What you'll need to run the server:

Run the frontend

  1. Go to the frontend directory
cd frontend
  1. Install the dependencies
bun install
  1. Start the frontend
bun dev
  1. Open in your browser: http://localhost:3000

Run the server

  1. Navigate to the backend directory
cd backend
  1. Install the requirements
pip install -r requirements.txt
  1. Add your OpenAI API and Retell API keys to the .env file
OPENAI_API_KEY=[YOUR_OPEN_AI_KEY]
RETELL_API_KEY=[YOUR_RETELL_AI_KEY]
  1. Start server
uvicorn main:app --reload
  1. Tunnel the server to the internet using ngrok
ngrok http 8000
  1. Set the Custom LLM URL for your Retell agent the ngrok url + /voice/llm-websocket

Example:

https://e253-128-195-97-137.ngrok-free.app/voice/llm-websocket