Skip to content

Allow voicemail detection to be disabled with 'off' option #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
16 changes: 12 additions & 4 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11118,12 +11118,14 @@ export interface CreateAssistantDTO {
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
* Set to 'off' to completely disable voicemail detection.
*/
voicemailDetection?:
| GoogleVoicemailDetectionPlan
| OpenAIVoicemailDetectionPlan
| TwilioVoicemailDetectionPlan
| VapiVoicemailDetectionPlan;
| VapiVoicemailDetectionPlan
| 'off';
/**
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]
Expand Down Expand Up @@ -11543,12 +11545,14 @@ export interface AssistantOverrides {
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
* Set to 'off' to completely disable voicemail detection.
*/
voicemailDetection?:
| GoogleVoicemailDetectionPlan
| OpenAIVoicemailDetectionPlan
| TwilioVoicemailDetectionPlan
| VapiVoicemailDetectionPlan;
| VapiVoicemailDetectionPlan
| 'off';
/**
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]
Expand Down Expand Up @@ -14419,12 +14423,14 @@ export interface Assistant {
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
* Set to 'off' to completely disable voicemail detection.
*/
voicemailDetection?:
| GoogleVoicemailDetectionPlan
| OpenAIVoicemailDetectionPlan
| TwilioVoicemailDetectionPlan
| VapiVoicemailDetectionPlan;
| VapiVoicemailDetectionPlan
| 'off';
/**
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]
Expand Down Expand Up @@ -14869,12 +14875,14 @@ export interface UpdateAssistantDTO {
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
* Set to 'off' to completely disable voicemail detection.
*/
voicemailDetection?:
| GoogleVoicemailDetectionPlan
| OpenAIVoicemailDetectionPlan
| TwilioVoicemailDetectionPlan
| VapiVoicemailDetectionPlan;
| VapiVoicemailDetectionPlan
| 'off';
/**
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]
Expand Down
Loading