Rich text AI responses
Available in Start plan
Requirements
Start a free trial or subscribe to the Start plan in your account.
Configure OpenAI in your AI settings or review the Custom LLM guides.
To install the frontend extensions, authenticate to Tiptap’s private npm registry by following the setup guide.
With the format: 'rich-text' option, you can generate AI responses that apply formatting to the content. This is especially useful when you want to generate content that includes rich text formatting like bold, italic, links, and more.
// Steams the response as rich text into the editor
editor
.chain()
.aiTextPrompt({
text: 'Write a list of popular programming languages',
stream: true,
format: 'rich-text',
})
.run()