Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/components/SDKsPage/MainSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export enum Tab {
CHANNELS = 'channels',
SPACES = 'spaces',
CHAT = 'chat',
AITRANSPORT = 'aitransport',
LIVEOBJECTS = 'liveobjects',
LIVESYNC = 'livesync',
}
Expand Down Expand Up @@ -41,6 +42,15 @@ const MainSection = ({ tab }: { tab: Tab }) => {
>
Chat
</Link>
<Link
to="/docs/sdks?tab=aitransport"
className={cn(
'ui-text-h3 mr-4 px-2 py-4 inline-block relative',
activeTab === Tab.AITRANSPORT && activeTabClasses,
)}
>
AI Transport
</Link>
<Link
to="/docs/sdks?tab=liveobjects"
className={cn(
Expand Down
17 changes: 17 additions & 0 deletions src/components/SDKsPage/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,23 @@ export const data = {
},
],
},
aitransport: {
text: "Choose an SDK to start building realtime AI features with the AI Transport product. Use the Core SDK for direct access to sessions, runs, and the conversation tree, or the Vercel AI SDK integration to add durable streaming to an existing Vercel AI SDK app. Click 'Get started' for setup instructions.",
cards: [
{
title: 'Core SDK',
text: 'Ably AI Transport SDK for JavaScript.',
image: { src: js, isWide: false },
setupLink: 'ai-transport/getting-started/core-sdk',
},
{
title: 'Vercel AI SDK',
text: 'Ably AI Transport with the Vercel AI SDK.',
image: { src: js, isWide: false },
setupLink: 'ai-transport/getting-started/vercel-ai-sdk',
},
],
},
liveobjects: {
text: "LiveObjects is a plugin to the existing Pub/Sub SDKs. Choose from the following platforms to synchronize your shared state across clients at scale. Click 'Setup' for instructions on getting started, or view its source repository for a full list of the platforms it supports.",
cards: [
Expand Down
Loading