Skip to content

Commit 25ace68

Browse files
docs(editor): update links to Vercel AI SDK documentation (#5672)
Co-authored-by: Benjamin Canac <[email protected]>
1 parent 8156634 commit 25ace68

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

docs/app/components/content/examples/editor/EditorCompletionExample.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const editorRef = useTemplateRef('editorRef')
66
77
const value = ref(`# AI Completion
88
9-
This editor demonstrates how to add AI-powered features using the Vercel AI SDK. It includes ghost text autocompletion that appears as you type (press Tab to accept) and text transformation actions.
9+
This editor demonstrates how to add AI-powered features using the [Vercel AI SDK](https://ai-sdk.dev/). It includes ghost text autocompletion that appears as you type (press Tab to accept) and text transformation actions.
1010
1111
Try selecting some text and using the AI dropdown to fix grammar, extend, or simplify it.`)
1212

docs/content/docs/2.components/0.index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Check out the **Dashboard template** on GitHub for a real-life example.
6464

6565
## AI Chat
6666

67-
Components for building conversational interfaces and chatbots, powered by the **[Vercel AI SDK](https://sdk.vercel.ai)**.
67+
Components for building conversational interfaces and chatbots, powered by the [Vercel AI SDK](https://ai-sdk.dev/).
6868

6969
:components-list{category="chat"}
7070

docs/content/docs/2.components/chat-messages.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ category: chat
55
links:
66
- label: AI SDK
77
icon: i-simple-icons-vercel
8-
to: https://ai-sdk.vercel.dev/
8+
to: https://ai-sdk.dev/
99
target: _blank
1010
- label: GitHub
1111
icon: i-simple-icons-github
@@ -386,8 +386,7 @@ Use the `should-scroll-to-bottom` prop to enable/disable bottom auto scroll when
386386

387387
## Examples
388388

389-
The Chat components are designed to be used with the [Vercel AI SDK](https://ai-sdk.vercel.dev/), specifically the [`Chat`](https://ai-sdk.dev/docs/reference/ai-sdk-ui/chat) class for managing chat state and streaming responses.
390-
389+
The Chat components are designed to be used with the [Vercel AI SDK](https://ai-sdk.dev/), specifically the [`Chat`](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-chat) class for managing chat state and streaming responses.
391390

392391
First, install the required dependencies:
393392

docs/content/docs/2.components/chat-palette.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ name: 'chat-palette-content-search-example'
6161
::
6262

6363
::tip
64-
You can enhance your chatbot with tool calling capabilities using the [Model Context Protocol](https://ai-sdk.dev/docs/ai-sdk-core/mcp) (`@ai-sdk/mcp`). This allows the AI to search your documentation or perform other actions:
64+
You can enhance your chatbot with tool calling capabilities using the [Model Context Protocol](https://ai-sdk.dev/docs/ai-sdk-core/mcp-tools) (`@ai-sdk/mcp`). This allows the AI to search your documentation or perform other actions:
6565

6666
::code-collapse
6767

docs/content/docs/2.components/editor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ Learn more about creating custom extensions in the TipTap documentation.
448448

449449
### With AI completion
450450

451-
This example demonstrates how to add AI-powered features to the Editor using the [Vercel AI SDK](https://ai-sdk.vercel.dev/), specifically the [`useCompletion`](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-completion) composable for streaming text completions, combined with the [Vercel AI Gateway](https://vercel.com/ai-gateway) to access AI models through a centralized endpoint. It includes ghost text autocompletion and text transformation actions (fix grammar, extend, reduce, simplify, translate, etc.).
451+
This example demonstrates how to add AI-powered features to the Editor using the [Vercel AI SDK](https://ai-sdk.dev/), specifically the [`useCompletion`](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-completion) composable for streaming text completions, combined with the [Vercel AI Gateway](https://vercel.com/ai-gateway) to access AI models through a centralized endpoint. It includes ghost text autocompletion and text transformation actions (fix grammar, extend, reduce, simplify, translate, etc.).
452452

453453
::note
454454
You need to install these dependencies first to use this example:
@@ -578,7 +578,7 @@ class: '!p-0'
578578
---
579579
::
580580

581-
::callout{icon="i-simple-icons-vercel" to="https://ai-sdk.vercel.dev/" target="_blank"}
581+
::callout{icon="i-simple-icons-vercel" to="https://ai-sdk.dev/" target="_blank"}
582582
Learn more about the Vercel AI SDK and available providers.
583583
::
584584

0 commit comments

Comments
 (0)