Updated the readme
This commit is contained in:
@@ -108,14 +108,15 @@ curl -X POST "http://localhost:7860/daily_start_bot" \
|
||||
|
||||
### 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:
|
||||
We have introduced a new example file that uses Gemini. You can find the code within bot_daily_gemini.py.
|
||||
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"
|
||||
}'
|
||||
curl -X POST "http://localhost:7860/daily_gemini_start_bot" \ py pipecat
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"detectVoicemail": true}'
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user