Logseq ChatGPT Plugin
A ChatGPT plugin powered by Langchain.js for Logseq.
Features
-
š In-build powerful prompts
The plugin comes packed with several powerful prompts:
-
š Custom Prompts
-
š ChatGPT Page Management
-
š„ Commands and Shortcuts
The plugin has the following
Do What I Mean (DWIM) commands:
- Ask ChatGPT - This will call chatgpt API when currently inside ChatGPT page. Otherwise, it open up the AI prompt palette for creating new chatgpt page.
- Create ChatGPT page - It open up the AI prompt palette for creating new chatgpt page.
- Show ChatGPT Page List - Opens the ChatGPT Page list dialog.
- Edit ChatGPT Custom Prompts - Opens the Edit ChatGPT Custom Prompts Dialog.
By default, there are following keyboard shortcuts for the above commands:
- cmd/ctrl+shift+/ - Ask ChatGPT
- cmd/ctrl+shift+l - Show ChatGPT Page List
The above shortcuts can be changed from settings.
-
š¾ Support for Logseq Syntax
The plugin is built with Logseq in mind. It parses the block refs and block embeds before sending request to ChatGPT. This means you can use block refs and embeds anywhere in your conversation.
Support for page embeds will be coming soon.
Additionally, the plugin sanitizes ChatGPT result using mldocs so that logseq supports rendering the output.
Installation
- Install Logseq ChatGPT Plugin from Marketplace.
- Go to
āÆ
> Settings
> Features
and enable Plugins
.
- Now, go to
āÆ
> Plugin
> Marketplace
and find Logseq ChatGPT Plugin and click install
- Get and Setup OpenAI API Key.
- OpenAI gives away free credits for ChatGPT that can last for up to 120 days. Get an OpenAI API Key here.
- Go to Logseq ChatGPT Plugin Settings and enter the API key there.
- Have fun!
š Support
Loved the tool? Please consider donating to help continue development!