Skip to content

Commit 15337a8

Browse files
mattheworiordanm-hulbert
authored andcommitted
docs: move AI Transport cross-ref to SSE and pub-sub pages
Remove the shoehorned placement after the channel groups section and add cross-references where developers are actively doing something relevant: after the publish code examples on the pub-sub page, and after the SSE advantages comparison.
1 parent d2157f6 commit 15337a8

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/pages/docs/channels/index.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,3 @@ Ably does not support channel groups, a concept used by some other providers whe
230230
* Channel namespaces already provide grouping functionality for configuration purposes.
231231

232232
Instead of channel groups, simply subscribe to the specific channels your client needs access to. The efficient multiplexing ensures optimal performance regardless of the number of channels.
233-
234-
<Aside data-type='further-reading'>
235-
If you are building AI-powered applications that stream LLM responses to users, [AI Transport](/docs/ai-transport) provides purpose-built features for token streaming, session management, and human-in-the-loop workflows on top of Ably channels.
236-
</Aside>

src/pages/docs/protocols/sse.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ SSE is an excellent alternative to Ably SDK in memory-limited environments.
3838
* Access to a comprehensive range of features including, but not limited to, [publishing](/docs/push/publish), [presence](/docs/presence-occupancy/presence), [history](/docs/storage-history/history), [push notifications](/docs/push), [automatic payload encoding](/docs/channels/options/encryption), and [symmetric encryption](/docs/channels/options/encryption).
3939
* Optimal compatibility with browsers via the WebSocket protocol.
4040

41+
<Aside data-type="note">
42+
If you are streaming LLM responses to users, [AI Transport](/docs/ai-transport) provides purpose-built token streaming with resumable sessions and multi-device continuity, addressing the limitations of HTTP-based streaming.
43+
</Aside>
44+
4145
## Configuration <a id="config"/>
4246

4347
The following code sample provides an example of how to use SSE with Ably:

src/pages/docs/pub-sub/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,10 @@ if err := channel.Publish(context.Background(), "example", "message data"); err
438438
</Code>
439439

440440

441+
<Aside data-type="note">
442+
If you are publishing messages to stream LLM responses to users, [AI Transport](/docs/ai-transport) provides purpose-built token streaming with resumable sessions, multi-device continuity, and human-in-the-loop workflows on top of pub-sub.
443+
</Aside>
444+
441445
<Aside data-type="further-reading">
442446
You can find out more detail about how [channels](/docs/channels) and [messages](/docs/messages) work.
443447

0 commit comments

Comments
 (0)