AI Menu

Installation

Install the following dependencies:

npm install @platejs/ai @platejs/markdown @platejs/selection @ai-sdk/react@1 @faker-js/faker use-stick-to-bottom remark-gfm remark-math @platejs/dnd radix-ui @ariakit/[email protected] @platejs/caption

Copy and paste the following code into your project.

Get the code ->

Update the import paths to match your project setup.

Examples

Loading...
Plate Pro