Chat Stream

approved

by Ryan P Smith

Create branching GPT chats using canvas notes.

β˜… 139 stars↓ 8,066 downloadsUpdated 1y agoMIT
View on GitHub

Chat Stream πŸ”€

GitHub release (latest SemVer) Obsidian Downloads

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

Install as community plugin

Or, add rpggio/obsidian-chat-stream to BRAT.

Chat Stream is supported only on desktop.

Setup

Add an OpenAI API key in Chat Stream settings.

Usage

  1. Select a note in the canvas
  2. Press Alt+Shift+G to generate new note from GPT using current note + ancestors
  3. 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.

Development

  1. Download source and install dependencies
     pnpm install
    
  2. In Obsidian, install and enable hot reload plugin
  3. Create symbolic link from this project dir to an Obsidian store
     ln -s . your-obsidian-store/.obsidian/plugins/chat-stream
    
  4. Start dev server
    pnpm run dev
    
  5. In Obsidian, enable Chat Stream Plugin and add OpenAI key in plugin settings.

Changes to code should automatically be loaded into Obsidian.

Attribution

Say thanks

If you love it you can send me a coffee thumbs-up so I know folks find it useful.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.