Skip to content

Commit f0199a2

Browse files
committed
Small fix
1 parent e88bb77 commit f0199a2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

content/en/docs/appstore/use-content/platform-supported-content/modules/genai/prompt-management.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ After several quick iterations, the first version of the prompt is typically rea
9191

9292
#### Create a Version
9393

94-
New prompts will be created in the draft status by default, meaning they are still being worked on and can be tested using the prompt management module only. When it is ready to be integrated into the actual app (i.e., the logic that end users trigger), the prompt must be saved as a version. This will store a snapshot of the prompt texts. To select the active version for the prompt, use the three-dot ({{% icon name="three-dots-menu-horizontal" %}}) menu on the prompt overview which say *Select prompt in use*.
95-
96-
It then needs to be selected as the active version for the prompt. This can be done on the prompt overview, using the menu option behind the three horizontal dots that say *Select prompt in use*.
94+
New prompts will be created in the draft status by default, meaning they are still being worked on and can be tested using the prompt management module only. When it is ready to be integrated into the actual app (i.e., the logic that end users trigger), the prompt must be saved as a version. This will store a snapshot of the prompt texts. To select the active version for the prompt, use the three-dot ({{% icon name="three-dots-menu-horizontal" %}}) menu option on the prompt overview and click **Select Prompt in use**.
9795

9896
For a Single-Call type prompt, use `Get Prompt for Context Object`, which can be found in the **Toolbox** in Studio Pro while editing a microflow, under the category **GenAI (Request Building)**. This operation returns both a system prompt and a user prompt strings, on a combined `PromptToUse` object. These string attributes can be passed to the chat completions operation. Retrieve the prompt (e.g. by name) and pass it with your custom context object to the operation. For an example of this pattern, see the product description generation example in the [GenAI Showcase app](https://marketplace.mendix.com/link/component/220475).
9997

0 commit comments

Comments
 (0)