Olle allows users to define dynamic prompts using variables. Once your body text is declared you are able to set values for each defined variable ([type of blog post]
, etc.
).
A variable is broken down in to 4 parts.
Let's say we have the following variable:
[type of blog post:Blog Post Type:Tutorial:Tutorial|Journey|Experience|Case Study|Testimonial]
Note: The arrow notation (->) listed down below, means corresponds to
In the context of the above numbered list:
The variable name is the name you would use in the body of your custom prompt, and it would be surrounded with square brackets
like so, [type of blog post]
.
The name of the variable field is the name that would appear within Olle via the Prompts lists or the default prompt listed in Toolbar and chat Mode.
The default field option and field options would appear within Olle, once you've clicked on a specific prompt via toolbar or chat mode.
In the body of your custom prompt you would define custom variable to use within your prompt.
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].
Note: The [PROMPT] variable is defined only when you would like to include custom text in the prompt
Variables definitions in Olle are always defined directly after the body text of your custom 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]
[TARGETLANGUAGE:Language:English:English|Spanish|French]
While we've shown the versatility of variables in Olle, we highly recommend defining variables using all caps or with underscores. This makes the prompts variable readable and allows you to distiguish your prompt text from the variable text.
Based on the example from setting variables options
above, we would define variable like so:
[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]
The would allow us to use the above variables like so:
[TYPE_OF_BLOG_POST]
[PRODUCT_SERVICE]
[IDEAL_CUSTOMER_PERSONA]
[TARGET_LANGUAGE]