You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .mock/asyncapi.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ channels:
147
147
contexts, flush them, or close them independently. A `close_socket` message can be used to terminate
148
148
the entire connection gracefully.
149
149
150
-
For more information on how to use this API for conversational agents see the [conversational agents guide](/docs/best-practices/conversational-agents).
150
+
For more information on best practices for how to use this API, please see the [multi context websocket guide](/docs/cookbooks/multi-context-web-socket).
description: Optional list of pronunciation dictionary locators. Can only be provided in the first message for a given context_id.
627
-
context_id:
627
+
contextId:
628
628
type: string
629
629
nullable: true
630
630
description: An identifier for the text-to-speech context. Allows managing multiple independent audio generation streams over a single WebSocket connection. If omitted, a default context is used.
631
631
close_context:
632
632
type: boolean
633
633
default: false
634
-
description: If true, closes the specified `context_id`. No further audio will be generated for this context. The `text` field is ignored.
634
+
description: If true, closes the specified `contextId`. No further audio will be generated for this context. The `text` field is ignored.
635
635
close_socket:
636
636
type: boolean
637
637
default: false
638
-
description: If true, flushes all contexts and closes the entire WebSocket connection. The `text` and `context_id` fields are ignored.
638
+
description: If true, flushes all contexts and closes the entire WebSocket connection. The `text` and `contextId` fields are ignored.
639
639
640
640
WebsocketTTSServerMessageMulti:
641
641
type: object
@@ -762,9 +762,9 @@ components:
762
762
alignment:
763
763
$ref: '#/components/schemas/Alignment'
764
764
nullable: true
765
-
context_id:
765
+
contextId:
766
766
type: string
767
-
description: The context_id for which this audio is.
767
+
description: The contextId for which this audio is.
0 commit comments