正在加载视频...
视频加载失败
New Notion AI template! I've built an open-source editor using Vercel AI SDK—you can select text and ask AI to simplify, add detail, translate, change style. You can also chat to AI and ask it to generate a new document. It has collaborative editing too, get it below.
38,386 次观看 • 2 年前 •via X (Twitter)
11 条评论

Deploy & live demo on Vercel's template gallery → Here's what the chat looks like! It generates markdown, and allows you to create a new @liveblocks text editor document from it, which is powering the collaboration.

The template allows you to select text and create threads, just like Notion, and has an inbox that notifies you when & where you've been mentioned.

A couple of other details. ✦ Collaborative editor, so multiple users can make changes at the same time. ✦ Threads float over text on mobile, and flip when off-screen. ✦ The sidebar shows documents, and uses to implement infinite loading.

More info on how this was built in my blog post.

You'd assume setting up AI would be difficult, but using @vercel AI SDK made it ridiculously easy. Took just a few minutes to follow the get started guide, before working perfectly without changes 👏

@vercel This template is just :chefkiss: Crazy how technology has involved in recent years. It's mind blowing to me that it's possible for someone to literally just deploy this to the world and make it their own in a few minutes.

@vercel Love that our team is enabling this!

@vercel This is absolutely amazing work! I'm glad to see Lexical getting some love as well

@vercel Thank you so much! Absolutely.

@vercel This is amazing!

@vercel Thank you! Hope it's helpful ✨
