Skip to content

Commit

Permalink
fix(api): add firstMessage field to OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Nov 26, 2024
1 parent 4a259f5 commit 7feb0cd
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -8425,6 +8425,11 @@
"voiceId": "jennifer"
}
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"example": "Hello! How can I help you today?"
},
"firstMessageMode": {
"type": "string",
"description": "This is the mode for the first message. Default is 'assistant-speaks-first'.\n\nUse:\n- 'assistant-speaks-first' to have the assistant speak first.\n- 'assistant-waits-for-user' to have the assistant wait for the user to speak first.\n- 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points).\n\n@default 'assistant-speaks-first'",
Expand Down Expand Up @@ -8598,11 +8603,6 @@
"description": "This is the name of the assistant.\n\nThis is required when you want to transfer between assistants in a call.",
"maxLength": 40
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"maxLength": 1000
},
"voicemailDetection": {
"description": "These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].\nThis uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.\nYou can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.",
"allOf": [
Expand Down Expand Up @@ -8829,6 +8829,11 @@
"voiceId": "jennifer"
}
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"example": "Hello! How can I help you today?"
},
"firstMessageMode": {
"type": "string",
"description": "This is the mode for the first message. Default is 'assistant-speaks-first'.\n\nUse:\n- 'assistant-speaks-first' to have the assistant speak first.\n- 'assistant-waits-for-user' to have the assistant wait for the user to speak first.\n- 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points).\n\n@default 'assistant-speaks-first'",
Expand Down Expand Up @@ -9006,11 +9011,6 @@
"description": "This is the name of the assistant.\n\nThis is required when you want to transfer between assistants in a call.",
"maxLength": 40
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"maxLength": 1000
},
"voicemailDetection": {
"description": "These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].\nThis uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.\nYou can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.",
"allOf": [
Expand Down Expand Up @@ -10257,6 +10257,11 @@
"voiceId": "jennifer"
}
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"example": "Hello! How can I help you today?"
},
"firstMessageMode": {
"type": "string",
"description": "This is the mode for the first message. Default is 'assistant-speaks-first'.\n\nUse:\n- 'assistant-speaks-first' to have the assistant speak first.\n- 'assistant-waits-for-user' to have the assistant wait for the user to speak first.\n- 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points).\n\n@default 'assistant-speaks-first'",
Expand Down Expand Up @@ -10430,11 +10435,6 @@
"description": "This is the name of the assistant.\n\nThis is required when you want to transfer between assistants in a call.",
"maxLength": 40
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"maxLength": 1000
},
"voicemailDetection": {
"description": "These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].\nThis uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.\nYou can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.",
"allOf": [
Expand Down Expand Up @@ -10685,6 +10685,11 @@
"voiceId": "jennifer"
}
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"example": "Hello! How can I help you today?"
},
"firstMessageMode": {
"type": "string",
"description": "This is the mode for the first message. Default is 'assistant-speaks-first'.\n\nUse:\n- 'assistant-speaks-first' to have the assistant speak first.\n- 'assistant-waits-for-user' to have the assistant wait for the user to speak first.\n- 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points).\n\n@default 'assistant-speaks-first'",
Expand Down Expand Up @@ -10858,11 +10863,6 @@
"description": "This is the name of the assistant.\n\nThis is required when you want to transfer between assistants in a call.",
"maxLength": 40
},
"firstMessage": {
"type": "string",
"description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
"maxLength": 1000
},
"voicemailDetection": {
"description": "These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].\nThis uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.\nYou can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.",
"allOf": [
Expand Down

0 comments on commit 7feb0cd

Please sign in to comment.