Obsidian logo and brain representing GPT-3

How I use GPT-3 with Obsidian to explore prompt engineering

Many people have been looking for ways to explore AI and prompt engineering. One of the best ways to do that is by using Obsidian and the text generator plugin to tap into the power of GPT-3.

As a user of Obsidian, I was excited to learn about the text generator plugin. This plugin allows you to interact with GPT-3. You only need to highlight the prompt text and press the keyboard shortcut. Then, the plugin takes care of the rest.

I decided to use this plugin to explore prompt engineering with GPT-3. Prompt engineering is a process of creating prompts that generate text that is useful to you. For example, you might want to generate a list of ideas for blog posts. Or, you might want to generate a list of questions to ask during an interview.

The combination of GPT-3 and Obsidian is useful for people that are serious about exploring the possibilities of prompt engineering. The robustness of Obsidian allows creating custom workflows and manage your history of prompts in unique ways that make sense to you.

I believe this tool will be invaluable for writers who want to push the boundaries of what is possible using Large Language Models (LLM) for text generation. Obsidian is a flexible tool with a large community. Its features and community plugins make it easy to maintain your collection of prompts and get more out of your writing sessions.

If youā€™re not familiar with Obsidian, I recommend checking it out. Itā€™s a powerful note-taking tool that allows you to easily create and manage your notes in various ways.

Obsidian is free for personal use, and Open AI has a generous free tier for exploring its language models.

Hereā€™s a quick overview of the workflow I use to interact with GPT-3 in Obsidian:

  1. Write your prompt
  2. Highlight the prompt text
  3. Press your keyboard shortcut

Below I have included step-by-step setup instructions.

step by step instructions

  1. InstallĀ ObsidianĀ and create a ā€œvaultā€ if you havenā€™t already.
  2. Open the Obsidian settings, and go to ā€œCommunity plugins.ā€ New users will also have to ā€œTurn offā€ restricted mode.
  3. Search for ā€œtext generatorā€ and install the plugin by Noureddine Haouari. You can view the codeĀ hereĀ on GitHub.
  4. You need anĀ OpenAI accountĀ to access the API key required for configuring the text generator plugin. You can find your API Key here once you are logged in.
  5. The text generator settings can be found in the bottom left of the Obsidian settings panel. Copy & paste your API key from OpenAI into the settings for the text generator plugin.
  6. Go to ā€œHotkeysā€ in the Obsidian settings and search for ā€œGenerate text!ā€ Click the circled plus sign (+) to create a shortcut that submits your prompt to GPT-3.
  7. Finally, test that itā€™s working by writing something like ā€œAre you there?ā€ in a new note. Then press your new ā€œhotkeyā€ (keyboard shortcut), and you should get a response from GPT-3 itā€™s working.

Leave a Comment Cancel Reply