Plugin: Jarvis (AI assistant) [v0.7.0, 2023-08-31]

Interesting use case. Always intriguing to hear how people use GPT / LLMs.

It sounds like it's worth a shot. I can suggest the following workflow:

  1. Open your imported OCR / email note.
  2. Select the entire note content (Ctrl+A).
  3. Open the "Ask Jarvis" dialog (Ctrl+Shift+J). The note content will already appear in the dialog.
  4. Select the template "Fix OCR" (first on the leftmost list).
  5. Send the prompt.
  6. The note content will be replaced by the edited, clean version.

If this sounds efficient enough, then you can follow these steps to get there: (If you already know exactly what you want to put in your template, skip to the last part.)

  • Make a copy of one of your imported notes to train on. That is, try to rephrase your instructions until you're satisfied with the results.
  • Select the entire note content (Ctrl+A).
  • Open the "Ask Jarvis" dialog (Ctrl+Shift+J).
  • Add to the top of the text your instructions. For example: "The following text is the output of an OCR that was emailed to me. Remove the first X rows, and the last Y rows. Correct spelling errors and line breaks that could result from bad OCR" and so on... (You probably have a much better version already that you use to instruct ChatGPT with.)
  • You may select "Show prompt in response" if you want to keep your draft of the set of instructions stored in the training notes (until these instructions becomes perfect). When this option is not selected, Jarvis will act silently and just return the output of the edited note (leaving out the instructions and input).

Now, let's assume that you already have a good working version of the prompt instructions. In order to integrate your template into Jarvis, do the following:

  • Go to Jarvis settings, to the Advanced Settings section.
  • Locate the field "Prompts: Instruction dropdown options".
  • Add the following text:
{"Fix OCR": "Your prompt"}

If you go for it, good luck! Hope it works flawlessly.

2 Likes