Creating prompts in Olle are very straight-forward. In this article, we will walk through creating a custom prompt from scratch for use within Olle.
Prompts in Olle are nothing more than plain-text files. Each prompt is a self-contained text file (ending with the .olle file extension) that is loaded when the app is first launched or when prompts are reloaded.
That being said, let's create a custom prompt!
Navigate to the Olle menu bar icon and select the "Add Prompt" menu option. This will open the finder window, which includes all of the prompts included with Olle.
Copy one of the prompt files (ending in .olle) and duplicate it. Let's rename the duplicated file to blog-post-generator.olle
. Now open the blog-post-generator.olle
in a text editor of your choice.
The header is the first thing that is defined in a custom prompt. This allows us to identify our prompts in Olle.
Title: Blog Post Generator
Description: This prompt is designed to help you showcase your product/service through a relatable and engaging story that highlights how it has helped a customer achieve their goal.
Hint: [Embark on a Journey of Success]
Author: Marcell
Tags: blog,generator,testimonial
Category: blogging
Title - The title is a unique name given to your prompt, so you can easily identify them within Olle via the Prompts List, Toolbar Mode or Chat Mode.
Description - The description describes what the prompt is used for and is displayed via the Prompt list in Olle.
Hint - The hint, usually denoted by the square brackets ([some hint]), is what is displayed in the toolbar or chat mode input area. This helps you remember what to write for specific prompts.
Author - Define the creator of the prompt here.
Tags - Define tags that are useful for this particular prompt
Category - Helps you categorized prompts
After we've successfully defined our header, we can now write the prompt body with custom variables.
I need a [TYPE_OF_BLOG_POST] that will tell a story about my [PRODUCT_SERVICE] and how it has helped [IDEAL_CUSTOMER_PERSONA] achieve their goal in a relatable and engaging way.[PROMPT].
At this point the above variables, [TYPE_OF_BLOG_POST]
, [PRODUCT_SERVICE]
, etc.
are not defined but, will be defined directly after this section. The [PROMPT]
variable is added to state we will add custom text to our prompt via Toolbar or Chat Mode.
Now that we've defined our custom prompt body with pre-declared variables in the previous section, we will now define those variable and assign values to it.
[TYPE_OF_BLOG_POST:Blog Post Type:Tutorial:Tutorial|Journey|Experience|Case Study|Testimonial]
[PRODUCT_SERVICE:Product/Service:Product 1:Product 1|Product 2|Product 3]
[IDEAL_CUSTOMER_PERSONA:Customer Persona:Business Owner:Business Owner|Freelancer|Entrepreneurs|Creative Professionals]
[TARGET_LANGUAGE:Language:English:English|Spanish|French|German]
Now that defined all of the sections for our dynamic prompt, we can put it all together and save our file.
Title: Blog Post Generator
Description: This prompt is designed to help you showcase your product/service through a relatable and engaging story that highlights how it has helped a customer achieve their goal.
Hint: [Embark on a Journey of Success]
Author: Marcell
Tags: blog,generator,testimonial
Category: blogging
I need a [TYPE_OF_BLOG_POST] that will tell a story about my [PRODUCT_SERVICE] and how it has helped [IDEAL_CUSTOMER_PERSONA] achieve their goal in a relatable and engaging way.[PROMPT].
[TYPE_OF_BLOG_POST:Blog Post Type:Tutorial:Tutorial|Journey|Experience|Case Study|Testimonial]
[PRODUCT_SERVICE:Product/Service:Product 1:Product 1|Product 2|Product 3]
[IDEAL_CUSTOMER_PERSONA:Customer Persona:Business Owner:Business Owner|Freelancer|Entrepreneurs|Creative Professionals]
[TARGET_LANGUAGE:Language:English:English|Spanish|French|German]
In order to see you're newly created prompt in Olle you must restart the app. Once the app is restarted, navigate to the Olle menu bar icon and select the "Prompts" menu item.