Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Spice Villa - Voice Agent

image image image

Setup

Make sure to Install UV. we're switching to uv , because it's lot easier to manage packages in developers ecosystem

curl -LsSf https://astral.sh/uv/install.sh | sh

(or)

pip install uv


Clone and Packages installation:

git clone <your-repo>
cd <your-project>
uv sync

This basically manages packages across your folder, don't need to create virtual environment. While running itself it'll get the dependencies from pyproject.toml

Create a .env file in the root directory:

supabase_key=""
DATABASE_URL=""
anon=""
service_role=""
uri=""
GOOGLE_API_KEY=""
LIVEKIT_URL
LIVEKIT_API_KEY
LIVEKIT_API_SECRET
DEEPGRAM_API_KEY
TELENYX_API_KEY
TELENYX_SIP_TRUNK_ID
TELENYX_PHONE_NUMBER

For the livekit, headover to restaurant-agents

uv run python3 livekit_adk.py dev

And in your Broswe Head over to

https://agents-playground.livekit.io/#cam=1&mic=1&screen=1&video=1&audio=1&chat=1&theme_color=green

For the main database, headover to restaurant365 and run

uv run python3 app_supabase.py


Getting Started with Dashboard (UI)

Prerequisites

  • Node.js 18+
  • npm 8+

Installation

  1. Navigate to the dashboard directory:
cd dashboard-ui
  1. Install dependencies:
npm install
  1. Start the development server:
npm start
  1. Open http://localhost:3000 in your browser

Build for Production

npm run build

Now to make sure the transcription is stored from the livekit server to the dashboard,

  1. Navigate to the dashboard directory:
cd dashboard-ui
  1. Run the following command
uv python run transcript-api-server.py

Now if every api credential is properly setted up, once you give a ring to your TELENYX_PHONE_NUMBER, the agent immediately connects to a caller id and will be immedialtely available for conversation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages