diff --git a/examples/phone-chatbot/README.md b/examples/phone-chatbot/README.md index f207ebd9d..a8d164f58 100644 --- a/examples/phone-chatbot/README.md +++ b/examples/phone-chatbot/README.md @@ -1,3 +1,5 @@ + +
 pipecat
@@ -104,6 +106,20 @@ curl -X POST "http://localhost:7860/daily_start_bot" \ -d '{"dialoutNumber": "+18057145330", "detectVoicemail": true}' ``` +### New! Using Gemini with Daily + +If you want to spin up a Gemini-based bot for this demo, instead of an OpenAI-based bot, call the same properties above but on the `daily_gemini_start_bot` endpoint instead. For example: + +```shell +curl -X "POST" "http://localhost:7860/daily_gemini_start_bot" \ + -H 'Content-Type: application/json; charset=utf-8' \ + -d $'{ + "dialoutNumber": "+12125551234" +}' +``` + +Any request body properties supported by `/daily_start_bot` (such as "detectVoicemail", "dialoutnumber", etc) can also be passed to `/daily_gemini_start_bot`. The only difference is that calling the Gemini endpoint will start a Gemini bot session. + ### More information For more configuration options, please consult [Daily's API documentation](https://docs.daily.co).