|
6869 | 6869 | "$ref": "#/components/schemas/Gather", |
6870 | 6870 | "title": "Gather" |
6871 | 6871 | }, |
| 6872 | + { |
| 6873 | + "$ref": "#/components/schemas/ToolCall", |
| 6874 | + "title": "ToolCall" |
| 6875 | + }, |
6872 | 6876 | { |
6873 | 6877 | "$ref": "#/components/schemas/Hangup", |
6874 | 6878 | "title": "Hangup" |
|
11412 | 11416 | "speech-update", |
11413 | 11417 | "status-update", |
11414 | 11418 | "transcript", |
| 11419 | + "transcript[transcriptType=\"final\"]", |
11415 | 11420 | "tool-calls", |
11416 | 11421 | "transfer-destination-request", |
11417 | 11422 | "transfer-update", |
|
11444 | 11449 | "speech-update", |
11445 | 11450 | "status-update", |
11446 | 11451 | "transcript", |
| 11452 | + "transcript[transcriptType=\"final\"]", |
11447 | 11453 | "tool-calls", |
11448 | 11454 | "transfer-destination-request", |
11449 | 11455 | "transfer-update", |
|
11980 | 11986 | "speech-update", |
11981 | 11987 | "status-update", |
11982 | 11988 | "transcript", |
| 11989 | + "transcript[transcriptType=\"final\"]", |
11983 | 11990 | "tool-calls", |
11984 | 11991 | "transfer-destination-request", |
11985 | 11992 | "transfer-update", |
|
12012 | 12019 | "speech-update", |
12013 | 12020 | "status-update", |
12014 | 12021 | "transcript", |
| 12022 | + "transcript[transcriptType=\"final\"]", |
12015 | 12023 | "tool-calls", |
12016 | 12024 | "transfer-destination-request", |
12017 | 12025 | "transfer-update", |
|
13594 | 13602 | "speech-update", |
13595 | 13603 | "status-update", |
13596 | 13604 | "transcript", |
| 13605 | + "transcript[transcriptType=\"final\"]", |
13597 | 13606 | "tool-calls", |
13598 | 13607 | "transfer-destination-request", |
13599 | 13608 | "transfer-update", |
|
13626 | 13635 | "speech-update", |
13627 | 13636 | "status-update", |
13628 | 13637 | "transcript", |
| 13638 | + "transcript[transcriptType=\"final\"]", |
13629 | 13639 | "tool-calls", |
13630 | 13640 | "transfer-destination-request", |
13631 | 13641 | "transfer-update", |
|
14186 | 14196 | "speech-update", |
14187 | 14197 | "status-update", |
14188 | 14198 | "transcript", |
| 14199 | + "transcript[transcriptType=\"final\"]", |
14189 | 14200 | "tool-calls", |
14190 | 14201 | "transfer-destination-request", |
14191 | 14202 | "transfer-update", |
|
14218 | 14229 | "speech-update", |
14219 | 14230 | "status-update", |
14220 | 14231 | "transcript", |
| 14232 | + "transcript[transcriptType=\"final\"]", |
14221 | 14233 | "tool-calls", |
14222 | 14234 | "transfer-destination-request", |
14223 | 14235 | "transfer-update", |
|
23333 | 23345 | "name" |
23334 | 23346 | ] |
23335 | 23347 | }, |
| 23348 | + "ToolCall": { |
| 23349 | + "type": "object", |
| 23350 | + "properties": { |
| 23351 | + "type": { |
| 23352 | + "type": "string", |
| 23353 | + "enum": [ |
| 23354 | + "tool_call" |
| 23355 | + ] |
| 23356 | + }, |
| 23357 | + "tool": { |
| 23358 | + "description": "The core properties of the tool call.", |
| 23359 | + "allOf": [ |
| 23360 | + { |
| 23361 | + "$ref": "#/components/schemas/CreateFunctionToolDTO" |
| 23362 | + } |
| 23363 | + ] |
| 23364 | + }, |
| 23365 | + "toolBody": { |
| 23366 | + "type": "object", |
| 23367 | + "description": "This defined the JSON body of your tool call. For example, if `body_schema`\nincluded \"my_field\": \"my_gather_statement.user_age\", then the json body sent to the server would have that particular value assign to it.\nRight now, only data from gather statements are supported." |
| 23368 | + }, |
| 23369 | + "name": { |
| 23370 | + "type": "string", |
| 23371 | + "maxLength": 40 |
| 23372 | + } |
| 23373 | + }, |
| 23374 | + "required": [ |
| 23375 | + "type", |
| 23376 | + "tool", |
| 23377 | + "toolBody", |
| 23378 | + "name" |
| 23379 | + ] |
| 23380 | + }, |
23336 | 23381 | "CreateWorkflowDTO": { |
23337 | 23382 | "type": "object", |
23338 | 23383 | "properties": { |
|
23354 | 23399 | "$ref": "#/components/schemas/Gather", |
23355 | 23400 | "title": "Gather" |
23356 | 23401 | }, |
| 23402 | + { |
| 23403 | + "$ref": "#/components/schemas/ToolCall", |
| 23404 | + "title": "ToolCall" |
| 23405 | + }, |
23357 | 23406 | { |
23358 | 23407 | "$ref": "#/components/schemas/Hangup", |
23359 | 23408 | "title": "Hangup" |
|
23398 | 23447 | "$ref": "#/components/schemas/Gather", |
23399 | 23448 | "title": "Gather" |
23400 | 23449 | }, |
| 23450 | + { |
| 23451 | + "$ref": "#/components/schemas/ToolCall", |
| 23452 | + "title": "ToolCall" |
| 23453 | + }, |
23401 | 23454 | { |
23402 | 23455 | "$ref": "#/components/schemas/Hangup", |
23403 | 23456 | "title": "Hangup" |
|
23567 | 23620 | "type": "string", |
23568 | 23621 | "description": "This is the type of the message. \"transcript\" is sent as transcriber outputs partial or final transcript.", |
23569 | 23622 | "enum": [ |
23570 | | - "transcript" |
| 23623 | + "transcript", |
| 23624 | + "transcript[transcriptType=\"final\"]" |
23571 | 23625 | ] |
23572 | 23626 | }, |
23573 | 23627 | "role": { |
|
23598 | 23652 | "transcript" |
23599 | 23653 | ] |
23600 | 23654 | }, |
23601 | | - "ToolCallFunction": { |
23602 | | - "type": "object", |
23603 | | - "properties": { |
23604 | | - "name": { |
23605 | | - "type": "string", |
23606 | | - "description": "This is the name of the function the model called." |
23607 | | - }, |
23608 | | - "arguments": { |
23609 | | - "type": "object", |
23610 | | - "description": "These are the arguments that the function was called with." |
23611 | | - } |
23612 | | - }, |
23613 | | - "required": [ |
23614 | | - "name", |
23615 | | - "arguments" |
23616 | | - ] |
23617 | | - }, |
23618 | | - "ToolCall": { |
23619 | | - "type": "object", |
23620 | | - "properties": { |
23621 | | - "type": { |
23622 | | - "type": "string", |
23623 | | - "description": "This is the type of tool the model called.", |
23624 | | - "enum": [ |
23625 | | - "function" |
23626 | | - ] |
23627 | | - }, |
23628 | | - "function": { |
23629 | | - "description": "This is the function the model called.", |
23630 | | - "allOf": [ |
23631 | | - { |
23632 | | - "$ref": "#/components/schemas/ToolCallFunction" |
23633 | | - } |
23634 | | - ] |
23635 | | - }, |
23636 | | - "id": { |
23637 | | - "type": "string", |
23638 | | - "description": "This is the unique identifier for the tool call." |
23639 | | - } |
23640 | | - }, |
23641 | | - "required": [ |
23642 | | - "type", |
23643 | | - "function", |
23644 | | - "id" |
23645 | | - ] |
23646 | | - }, |
23647 | 23655 | "ClientMessageToolCalls": { |
23648 | 23656 | "type": "object", |
23649 | 23657 | "properties": { |
|
25546 | 25554 | "type": "string", |
25547 | 25555 | "description": "This is the type of the message. \"transcript\" is sent as transcriber outputs partial or final transcript.", |
25548 | 25556 | "enum": [ |
25549 | | - "transcript" |
| 25557 | + "transcript", |
| 25558 | + "transcript[transcriptType=\"final\"]" |
25550 | 25559 | ] |
25551 | 25560 | }, |
25552 | 25561 | "timestamp": { |
|
0 commit comments