To get an OpenAI API key, sign up for OpenAI, then visit OpenAI's API keys page.
name | Yappy |
description | OpenAI prompts to revise and generate note content, especially inline content that you want to complete. |
icon | psychology |
instructions | Enter in your OpenAI key in the plugin settings. If you have access to gpt-4, you can enter that in to the "OpenAI model" setting field, otherwise, you can leave it blank. The first commands that have been implemented are all expressions, invoked by using an opening curly brace { followed by one of the implemented commands:1. lolz : Say something funny in the context of the note2. complete : Write up to a paragraph that completes the thought or instructions that preceded it3. lookup : Like complete , but when you only want the AI to insert a word or phrase, rather than a list or paragraph.2. code : Write code that implements the adjacent instructions. Experimental.4. sum : Sum the values in column or row adjacent to the expression. Very experimental. There are three options added to the menu when text is selected: 1. revise : Allow passing a prompt for how to revise the selected text2. rhyme : Suggest up to 10 words that would rhyme with the selection3. summarize : Summarize the selected textThere are two options added to the main note menu: 1. revise : suggest an entirely new body for the note2. summarize : summarize the full contents of the noteExamples of using the plugin at Yappy examples & documentation:https://public.amplenote.com/zSCFNYBKTtkpktmDHBHNHvqS Get an OpenAI key at https://platform.openai.com/account/api-keys and enter it into the settings for this plugin. This plugin lives in git with some tests at https://github.com/alloy-org/yappy |
setting | API Key |
setting | OpenAI model (default is gpt-3.5-turbo) |
The prompts that control summarize and complete behavior at the bottom of the code block. The easiest way to play around with them is to use https://platform.openai.com/playground with the prompt and some content after it, using the same settings (temperature 0.1 and maximum length 128 - though of course those could be changed too).
April 24 v0.3
removes thesaurus and image generator to move them to dedicated Image Generation and Thesaurus plugins
April 11 v0.2
Added basic test framework for more rapid iteration and thesaurus
method to context menu options
April 8 v0.1.2
Added lookup
to disambiguate when seeking short answers and vs expository ones
April 8 v0.1.1
Updated complete
so that it is more prone to respond with a specific word or phrase when appropriate, instead of waxing on.
April 7 v0.1
Implement initial commands for lolz
complete
code
and sum
. Try to minimize boilerplate needed for each prompt, while getting OpenAI to respond in such a way that it incorporates the surrounding note context.