Talk to your notes in a side panel
Press Ctrl+Alt+A to open the panel on the right. It does more than reply with text — it reads pages, searches the section, creates pages and rewrites paragraphs, asking first before overwriting and letting you undo afterwards.
Opening and docking
Both the Home and NoteMark tabs have an AI Chat button in the AI group; it stays pressed while the panel is visible. The global hotkey Ctrl+Alt+A toggles it from anywhere.
The panel is a separate window docked beside OneNote, not an in-page pane:
- It sits just outside the OneNote window on the right so it never covers the page; when OneNote is maximized it overlays a strip at the screen edge. To dock it on the left, set
ai-chat-sidetoleft. - Drag its edge to change the width (minimum 320); the width is written back to the config and reused next time.
- Minimizing OneNote hides the panel; press
Ctrl+Alt+Aagain after restoring the window (the conversation is kept). ✕only hides it — the conversation and any unsent text are still there when you reopen.
Configure the service first
Chat shares the same service configuration as the AI actions. Use AI Settings in the AI group, or More → Settings… in the panel header, to enter the endpoint, model and API key. See AI features.
Context scope
The Context options above the input decide what is attached to each turn. Pick one; the default is Current page only.
Clicking the already selected option removes the extra reference. Context is captured the moment you press send, so changing the selection or switching pages afterwards does not affect that turn.
What it can read and write
Everything goes through 13 restricted tools, grouped into three tiers. The model cannot touch OneNote’s page structure directly.
Confirmation and undo
Write protection depends on the tier:
- Read: executes immediately without interrupting the conversation.
- Append: executes immediately, and the reply shows an Undo action. Undo restores the page snapshot taken before this turn.
- Overwrite: a confirmation card lists the action, target page and a preview of the text. Focus defaults to Discard, so a stray Enter changes nothing, and a card left unanswered counts as discard. Ordinary edits are titled Confirm note changes; deletion is titled Confirm page deletion with a Delete button.
- Deleting a page always opens the confirmation card, whatever the confirm tier is set to, because it cannot be undone.
Multiple writes to the same page within one turn take a single snapshot before the first write, so undo returns to the state at the start of the turn rather than to an intermediate state.
The threshold is configurable
The ai-chat-confirm setting decides which tier and above needs confirmation: write (default, only overwrites), append (appends too), read (everything). It has no UI toggle; see “Chat-specific settings” below.
Multi-turn sessions
- The dropdown at the top switches between conversations;
+starts a new one, saving the current one first. - More → Delete this conversation removes only that one, after a confirmation.
- An empty conversation offers three starting points: Tidy this page, Summarize this page, Polish the selection. Clicking only fills the input box — nothing is sent.
- The status line shows “model · context N%”; hover it to see characters used, the budget, and the token usage of the last request. When the budget is exceeded, the oldest turns are dropped first.
- Conversations are stored in
%LocalAppData%\NoteMark\chat— messages only, never page bodies — and the 20 most recent are kept.
Input and shortcuts
Ctrl+Shift actions. They resume when you leave the panel.Chat-specific settings
The chat options have no settings UI: the AI Settings window only covers the endpoint, model, API key, temperature, max tokens and timeout. The keys below go straight into the shared %LocalAppData%\NoteMark\ai.txt and take effect after restarting OneNote:
write (overwrites only) / append (appends too) / read (everything). Page deletion ignores this tier and always asks first.ai-max-tokens, since replies often hold a whole page.right / left; the width is written back when you drag the panel edge.false to send with Ctrl+Enter and use Enter for line breaks.If you cannot find a toggle
None of the chat options mentioned here appear in the AI Settings window — that window only holds server settings. Every chat behaviour is controlled by the ai-chat-* keys above.
Data and safety
- The AI can only act through the tools above — it never writes OneNote page XML directly. Every write goes through NoteMark’s own page operations.
- Deleting a page always requires the confirmation card and is limited to the current section; deleted pages go to the OneNote recycle bin and can be restored from there.
- Only the context scope you choose is sent. When the AI reads additional pages it does so through read tools, and those calls are visible in the conversation.
- Stored conversations contain messages only, never page bodies; the API key stays encrypted with Windows DPAPI for the current user.
- The panel talks only to the endpoint you configured.
Troubleshooting
ai-chat-max-context. For long notes, let it read and edit in chunks.