Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
TWILIO_ACCOUNT_SID="YOUR-ACCOUNT-SID"
TWILIO_AUTH_TOKEN="YOUR-AUTH-TOKEN"
DEEPGRAM_API_KEY="YOUR-API-KEY"
XI_API_KEY="YOUR-API-KEY"
# Available models at a signed GET request to /v1/models
XI_MODEL_ID="eleven_monolingual_v1"
VOICE_ID="YOUR-VOICE-ID"
SERVER="yourdomain.ngrok.io"
SERVER="yourdomain.ngrok.io"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
> 💡 A more complete & updated version of this demo is available in a [Twilio Open Source Repo](https://github.com/twilio-labs/call-gpt).

# Generative AI Phone Calling

Generative AI is producing a bunch of fun new models for us devs to poke at. Did you know you can use these over the phone?
Expand Down
7 changes: 7 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"port":3000,
"system_prompt": "You are a monster that lives in Denver, Colorado. Your current body looks like a white and gray house. You have two eyes, large teeth, and a red tongue. You are scary but in a silly way. Your response should pithy and no more than 16 words.",
"greetings_prompt": "Come up with a pithy greeting",
"goodbye_prompt": "Come up with a pithy goodby message. Assume you may be cutting the user off. You can be a little rude",
"user_chat_count":6
}
Loading