Overview
The AI completion system is integrated directly into the BlockNote editor, providing instant text generation and editing assistance without leaving your workspace.AI features require an active internet connection and work best with documents that have AI vectorization enabled.
Quick AI Completion
The fastest way to use AI is with the ++ trigger:Example Usage
Stopping Generation
- Cancel
- Undo
- Click Away
Press Esc to stop generation and remove the generated text
AI Block Menu
For more control over AI actions, use the block menu to access specific AI functions.Accessing the AI Menu
This opens the AI popover with pre-built actions and a custom prompt field.
Pre-built AI Actions
Uxie provides several one-click AI actions optimized for common editing tasks:Improve Writing
Enhances clarity, flow, and professionalism
Fix Spelling & Grammar
Corrects errors and improves sentence structure
Summarize
Creates a concise summary of the selected text
Explain This
Provides a detailed explanation of complex content
Find Action Items
Extracts tasks and action items from text
Using Pre-built Actions
- Select a paragraph using the block menu
- Click “AI” to open the popover
- Choose one of the pre-built actions
- Wait for the AI to generate results
- Choose how to apply the results
Available Pre-built Actions
Available Pre-built Actions
ai/popover.tsx
Custom AI Prompts
For more specific requests, use the custom prompt field in the AI popover.Prompt Examples
- Writing
- Analysis
- Formatting
- “Make this more formal”
- “Rewrite in simple terms”
- “Add more details about the methodology”
- “Convert to bullet points”
- “Write a counter-argument”
Custom Prompt Workflow
Applying AI Results
Once the AI generates a response, you have two options for integrating it into your notes:- Replace Selection
- Insert Below
Replaces the original block content with the AI-generated text.Use this when:
- The AI improved your original text
- You want to fix grammar/spelling
- The AI version is better than your draft
ai/popover.tsx
Iterating on AI Responses
The AI popover supports multiple generations and refinements:Multiple Generations
- After receiving an AI response, type a follow-up prompt
- Example: “Make it shorter” or “Add more technical details”
- Navigate between different versions using the arrow buttons
- Each version is stored until you choose one
Navigation Controls
Previous
View earlier AI generations
Counter
Shows “X of Y” - current version number
Next
View newer AI generations
AI Integration with Document Chat
When your PDF has AI vectorization enabled, the AI has access to the entire document context for more relevant responses.Document-Aware AI
- Summarize: Creates summaries based on the full document
- Explain: Provides context from related sections
- Action Items: Finds tasks across all pages
- References: Can cite specific sections
Vectorization status is shown with a sparkle icon (✨) on your document card in the library. Vectorization happens automatically for documents under your plan’s page limit.
API Integration
Uxie’s AI features use the OpenAI API for text generation:Best Practices
Writing More Effective Prompts
Writing More Effective Prompts
- Be specific: “Make this more formal” vs “improve this”
- Provide context: “Explain for beginners” vs “explain”
- Set constraints: “In 2 sentences” or “using simple words”
- Iterate: Start broad, then refine with follow-up prompts
When to Use Quick Completion (++)
When to Use Quick Completion (++)
- Brainstorming and generating ideas
- Continuing a thought or argument
- Drafting initial content quickly
- Overcoming writer’s block
When to Use Block Menu AI
When to Use Block Menu AI
Reviewing AI Output
Reviewing AI Output
Always review AI-generated content for:
- Factual accuracy
- Appropriate tone and style
- Relevance to your needs
- Potential biases or errors
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Quick AI completion | Type ++ |
| Stop generation | Esc |
| Undo AI generation | Cmd/Ctrl + Z |
| Open block menu | Hover + Click drag handle |
Troubleshooting
AI popover doesn't open
AI popover doesn't open
- Make sure you’re clicking the drag handle (six dots) on the left
- Try clicking directly on a paragraph first to focus it
- Refresh the page if the editor is unresponsive
++ trigger not working
++ trigger not working
- Ensure you type
++at the end of a line - Wait a moment after typing
- Check that you’re not in a code block or special formatting
AI generates irrelevant content
AI generates irrelevant content
- Provide more context in your notes before using AI
- Use the custom prompt field with specific instructions
- Try regenerating with a different prompt
Generation is slow or fails
Generation is slow or fails
- Check your internet connection
- The first generation may take longer
- Try again if you see an error message
Limitations
Related Features
Chat with PDF
Ask questions about your document with AI chat
Note-Taking
Learn more about the BlockNote editor
Document Management
Organize your vectorized documents
