P
Paperly
Back to Documentation

AI Assistant Features

Paperly isn't just an editor; it's an intelligent writing partner. Learn how to use our AI features to write faster and cleaner LaTeX code.

Interactive Chat

Ask questions, request code snippets, or get explanations for complex LaTeX concepts directly in the editor.

Code Fixing

Encounter a compilation error? The AI can analyze your log, identify the issue, and suggest a fix with one click.

Smart Suggestions

Access context-aware completions and suggestions to speed up your writing workflow.

How to Use the AI Assistant

The AI Assistant is located in the right-side panel of the editor. To fully utilize it:

  1. Open the Assistant tab (or press Ctrl + K).
  2. Type your request in natural language. For example:
    • "Create a 3-column table with headers Name, Age, and Location."
    • "How do I add a bibliography using BibTeX?"
    • "Rewrite this abstract to be more concise."
  3. The Assistant will generate the LaTeX code.
  4. Click Insert to add the code directly to your document at the cursor position.

Auto-Fixing Errors

When compilation fails, you'll see an error indicator in the status bar or the preview panel.

  1. Click the "Ask AI to Fix" button near the error message.
  2. The AI will interpret the error log (which can be cryptic!) and explain what went wrong.
  3. It will propose a corrected version of the code.
  4. Review the change and apply it to resolve the error instantly.