Skip to content

Commit e41721a

Browse files
committed
readme fixes
1 parent a3a0276 commit e41721a

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

examples/03_phone_and_rag_example/README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Copy the ngrok url from the first tab. And in a new tab start your http endpoint
5757
```
5858
cd 03_phone_and_rag_example
5959
uv sync
60-
RAG_BACKEND=turbopuffer NGROK_URL=replaceme.ngrok-free.app uv run phone_and_rag_example.py
60+
RAG_BACKEND=gemini NGROK_URL=replaceme.ngrok-free.app uv run inbound_phone_and_rag_example.py
6161
```
6262

6363
C. Twilio console
@@ -70,26 +70,17 @@ replaceme.ngrok-free.app/twilio/voice
7070

7171
D. Call the number
7272

73-
Call the number. You'll end up talking to the agent
74-
75-
76-
### Running the example - Outbound call
77-
78-
```
79-
cd 03_phone_and_rag_example
80-
uv sync
81-
RAG_BACKEND=turbopuffer TWILIO_NUMBER=numberhere uv run outbound_example.py
82-
```
73+
Call the number and you'll end up talking to the agent.
74+
Note that there is some added latency during development if you're not running in US-east.
8375

8476

8577
## Understanding the examples
8678

87-
### Twilio
88-
89-
Twilio works by creating a websocket based media stream.
90-
This logic is the same for both inbound and outbound.
91-
79+
### Twilio & Twiml
9280

81+
Both the inbound and outbound code for twilio generate a TwiML doc.
82+
This TwiML doc starts the media websocket connection to Twilio.
83+
After that it behaves like a regular agent.
9384

9485
## RAG
9586

0 commit comments

Comments
 (0)