File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
pages/docs/ai-transport/features/token-streaming Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ export default {
1616 link : '/docs/ai-transport' ,
1717 index : true ,
1818 } ,
19+ ] ,
20+ } ,
21+ {
22+ name : 'Token streaming' ,
23+ pages : [
1924 {
20- name : 'Token streaming' ,
21- pages : [
22- {
23- name : 'Message per response' ,
24- link : '/docs/ai-transport/features/token-streaming/message-per-response' ,
25- } ,
26- ] ,
25+ name : 'Message per response' ,
26+ link : '/docs/ai-transport/features/token-streaming/message-per-response' ,
2727 } ,
2828 ] ,
2929 } ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ This approach is ideal when:
2929 action to the Ably channel with an empty or the first token as content.
30302 . ** Token streaming** : Append subsequent tokens to the original message by publishing those tokens
3131 with the ` message.append ` action.
32- 3 . ** Live Delivery** : Clients subscribed to the channel receive each appended token in real-time , allowing
32+ 3 . ** Live Delivery** : Clients subscribed to the channel receive each appended token in realtime , allowing
3333 them to progressively render the response.
34344 . ** Compacted history** : The channel history contains only one message per AI response,
3535 which includes all tokens appended to it concatenated together.
@@ -129,7 +129,7 @@ Subscribers receive different message actions depending on when they join and ho
129129messages.
130130
131131When subscribed to a channel, clients receive the initial message with the ` message.create ` action,
132- followed by each token as a ` message.append ` action in real-time .
132+ followed by each token as a ` message.append ` action in realtime .
133133
134134<Code >
135135``` javascript
You can’t perform that action at this time.
0 commit comments