An Obsidian plugin for conversing with GPT AI via canvas notes. Ancestor notes/files are included in the chat context. You can quickly create chat streams, and control what other notes are sent to the AI.
Install as community plugin
Or, add rpggio/obsidian-chat-stream
to BRAT.
Chat Stream is supported only on desktop.
Add an OpenAI API key in Chat Stream settings.
- Select a note in the canvas
- Press Alt+Shift+G to generate new note from GPT using current note + ancestors
- To create next note for responding, press Alt+Shift+N.
AI notes are colored purple, and tagged with chat_role=assistant
in the canvas data file.
- Download source and install dependencies
pnpm install
- In Obsidian, install and enable hot reload plugin
- Create symbolic link from this project dir to an Obsidian store
ln -s . your-obsidian-store/.obsidian/plugins/chat-stream
- Start dev server
pnpm run dev
- In Obsidian, enable Chat Stream Plugin and add OpenAI key in plugin settings.
Changes to code should automatically be loaded into Obsidian.
- Canvas plugin code from Canvas MindMap
If you love it you can send me a coffee thumbs-up so I know folks find it useful.