Giter Site home page Giter Site logo

freeplaneopenaiweb's Introduction

An add-on for freeplane that uses OpenAI GPT API to brainstorm ideas from any selected node

##Screenshots

Communicator window

screenshot communicator

Question sent screenshot question

Answer comes screenshotanswer

Known issue

There's a mysterious network permissions issue that sometimes comes up that I'm still working out.

Setup

Install add-on using the Gpt-AddOn-v0.2.addon.mm file. Other files are used for development only.

Pre-requisites

Check-list before starting

  • I have an Open AI account
  • Freeplane app is installed on my computer
  • Open AI add-on is installed in Freeplane.

Step by step configuration of Freeplane Open AI add-on

In your Open AI Account

  1. Go to web page https://platform.openai.com/account/api-keys
  2. Log in using your ChatGPT account
  3. Create a new Key by clicking on "Create a new secret Key" button like shown bellow and finally copy this newly generated key.

API Key for GPT

In Freeplane

  1. Start the Freeplane app and go to menu Tools > Add-ons
  2. Then click on the Add-ons tab, select the ChatGPT add-on and click on Configure
  3. Finally paste the GPT key from your clipboard into the field "Open AI API key".

... you're done.

Prompt template

The default prompt should be found in the add-on configuration. It is a good starting point for brainstorming ideas. You can change it to suit your needs. The default prompt is:

Please generate a list of 5 ideas related to the subject: '${node.getText()}', in the context of '${node.mindMap.root.text}'. Separate each idea with a newline.

Where the following variables are replaced by the add-on:

  • ${node.getText()} is replaced by the text of the selected node
  • ${node.mindMap.root.text} is replaced by the text of the root node of the mindmap

So GPT will be asked to generate ideas related to the selected node, in the context of the root node of the mindmap.

The node variable is rendered by a groovy template and comes from the groovy script DSL within freeplane. There are probably many more useful variables that can be used, but I haven't found them yet.

Improvements

Prompt suggestions are very welcome, this is only a start!!

Work in progress / future release

  • Add preferences to set more GPT parameters
  • Add features for research task execution, like how AutoGPT, Baby AGI, Agent-LLM etc work.

freeplaneopenaiweb's People

Contributors

barrymac avatar dpolivaevunite avatar edofro avatar dpolivaev avatar ldmpub avatar

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.