Code Monkey home page Code Monkey logo

logseq-chatgpt-plugin's Introduction

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
    The plugin provides GUI for custom prompt creation. The custom prompts can use langchain.js tools like Web Browser, Zapier, and even external custom API Endpoints ๐Ÿ˜ฒ.

    Please read Custom Prompt Editor Tutorial and Custom API Tool for Custom Prompts Tutorial for documentation on this.

    Additionally, you can find importable user-made Custom Prompts on the Github - ChatGPT Plugin Custom Prompt Discussion.
  • ๐Ÿ“š 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

  1. 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
  2. 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.
  3. Have fun!

๐Ÿ™ Support

Loved the tool? Please consider donating to help continue development!

Buy Me A Coffee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.