Overview
This was one of the first GPT-3 integrations published to the Logseq marketplace, back in early 2023 when “type a prompt and get a completion back” was still a novel thing to have inside a notes app. You write a prompt in a block, run the slash command, and the model’s response is inserted as a child block. The original idea was to have AI text-generation available in the same place I keep my notes, without needing to leave the editor.
Features
- Generate text, summaries, or explanations directly into a block
- Reusable prompt templates for tasks you do often
- Send surrounding blocks as context so the model has something to work with
- Keyboard shortcuts so you don’t have to mouse over to the slash menu
Technology Stack
- TypeScript
- Logseq Plugin API
- OpenAI API
- React for the settings UI