Select, draft, organize — all inside OneNote
Connect any OpenAI-compatible service to polish selected text, draft from a prompt, turn a whole section into an overview — or hold a multi-turn conversation in the side panel that reads, edits and creates pages step by step.
What it does
AI features live in the AI group on both the Home and NoteMark tabs:
First-time setup
/v1 endpoint, for example https://api.deepseek.com/v1, and the model name provided by your service.Defaults and compatibility
DeepSeek is pre-filled (https://api.deepseek.com/v1 / deepseek-chat). Any OpenAI-compatible Chat Completions service works, including OpenAI, Moonshot, Qwen and local Ollama.
AI chat
The three features above are one-shot: request, preview, insert. When you need several rounds, or want the AI to change pages directly, use the side-panel AI Chat (Ctrl+Alt+A):
- Context can be selection / current page only / whole section, captured the moment you send;
- the AI reads pages, searches the section, inserts content and creates pages itself; overwrites show a confirmation card first, appends can be undone;
- conversations are kept and switchable, and a status line shows live context usage.
See AI Chat for the full description.
AI on selected text
Select the text, open the AI Process menu, or use a shortcut:
- [ ] tasks, starting with a verb and keeping any dates or owners from the source.AI drafting
Click AI Draft in the AI group and describe what you need, for example “write a weekly project update with risks and next steps.” The preview window lets you:
- Insert the result at the cursor;
- Copy the raw Markdown for another page or app;
- Regenerate it if the result is not what you want.
Organize the current section
Organize Section opens an options window first:
- Page range: all pages in the current section are selected by default; uncheck pages you do not want to include. Subpages are indented.
- Mode: section overview (contents + per-page summary + grouping + advice), merge into one note (reorganize by topic and remove duplicates), or advice only (no rewriting).
- Read depth: compact 2,000 chars/page (40,000 total), standard 4,000 chars/page (80,000 total), detailed 8,000 chars/page (120,000 total).
- Output: create a new page at the end of the section, or insert at the cursor on the current page.
After previewing, the result is written as chosen. New pages are titled like “Section Overview · date”, “Section Merge · date” or “Organization Advice · date”.
Write-back and data safety
- AI actions and drafting are non-destructive: the original selection is left untouched; the result is inserted at the cursor only after you confirm.
- In AI Chat, overwrites (replace selection, rename page, delete page) run only after the confirmation card; replaces and renames can be undone, while deletion moves the page to the recycle bin and is limited to the current section.
- Configuration lives in
%LocalAppData%\NoteMark\ai.txt; the API key is encrypted with Windows DPAPI for the current user, so other accounts cannot decrypt it. - Logs contain only the action, duration, HTTP status and error summary — never request bodies or keys.
- Rendering always happens locally. Only when you explicitly trigger an AI action is the selected text or chosen pages sent to the service configured in settings.
Cost and network
AI requests consume your provider quota and are billed by the provider. A network connection is required; if you use a proxy, make sure OneNote can reach the configured endpoint.