Open the Prompt Library
For convenience, you open the Prompt Library at the point of usage. Just click the prompt.
- KnowledgeAI: Click the prompt in the testing tool.
- Conversation Assist: Click the prompt in the Settings page.
- Conversation Builder: Click the prompt in the interaction (KnowledgeAI interaction or Integration interaction).
As an example, here’s how to open it from the Answer Tester within a knowledge base in KnowledgeAI:
If you’re previewing our Generative AI features, be aware that you can no longer access the Prompt Library once the preview period is over.
Best practices
For optimal performance, follow our best practices.
UI design paradigms and recommendations
The process of creating or editing a prompt is tightly coupled with selecting that prompt for use at the integration point that you used to open the Prompt Library. Think of it as:
- "Create and select for use," not just "Create"
- "Edit and select for use," not just "Edit"
For example, if you access the Prompt Library via Conversation Assist, and then you create a prompt and save those changes, that new prompt will be selected for use in Conversation Assist.
If you want to keep your prompt creation and editing workflows separate—i.e., you don't want that work to impact the integration points in your conversational AI solution—we have a recommendation: To create or edit a prompt, always begin by opening the Prompt Library via one of KnowledgeAI's testing tools. That way, the new or updated prompt will be saved and selected for use in that testing tool. This is what you want anyway, as you always want to test prompts fully before using them in your solution.
Once a prompt is ready for further testing, go to the relevant integration point, open the Prompt Library, and select the prompt for use there.
Create a prompt by copying a LivePerson template
When you create a prompt by copying a LivePerson template, this performs a deep copy. Importantly, there’s no relationship between the template and the copy. Your copy is independent by design. This is so updates to the template don’t affect your solution inadvertently.
- Open one of the testing tools in KnowledgeAI.
- Click the prompt that's in use.
- Click Go to library in the lower-left corner.
- In the Select Prompt window, click Prompt templates.
-
Select the LivePerson template that you want to copy.
-
Click Use template at the bottom of the window.
-
Edit the prompt as required. For example, you might want to change the prompt name and description. Then click Save.
The new prompt is added to My Prompts.
- Test the new prompt right there in the testing tool, as it's now selected for use.
Create a prompt by copying another prompt
- Open one of the testing tools in KnowledgeAI.
- Click the prompt that's in use.
- Click Go to library in the lower-left corner.
-
In My Prompts, click the Duplicate icon beside the prompt that you want to copy.
-
Change the prompt as desired, and click Save.
The new prompt is added to My Prompts.
- Test the new prompt right there in the testing tool, as it's now selected for use.
Create a prompt from scratch
- Open one of the testing tools in KnowledgeAI.
- Click the prompt that's in use.
- Click Go to library in the lower-left corner.
-
In the Select Prompt window, click + Create from scratch.
-
In the Create New Prompt window, enter the prompt details, and click Save.
The new prompt is added to My Prompts.
- Test the new prompt right there in the testing tool, as it's now selected for use.
Use variables in prompts
Learn about using variables in prompts to dynamically include relevant info.
Edit a prompt
Use caution when editing prompts. A prompt can be used in multiple places in your solution, so make sure the prompt changes are suitable for each point of usage. This helps to avoid unintended changes in behavior.
If the changes that you want to make are major, then for safety we recommend duplicating the prompt and making the changes in the copy. Always fully test any substantive changes, especially major ones, before using them in Production.
To edit a prompt
- Open one of the testing tools in KnowledgeAI.
- Click the prompt that's in use.
- Click Go to library in the lower-left corner.
-
Select the Preview icon beside the prompt that you want to edit.
-
Click Edit in the lower-right corner.
-
In the pop-up window, click Yes to confirm the action.
-
Change the prompt details as required, and click Update.
- Test the new prompt in the testing tool, as it's now selected for use.
Select a prompt to use
Ready to put a prompt into action in your solution?
- Learn how to select prompts for use in Conversation Assist.
- Learn how to select prompts for use in Conversation Builder bots.
Delete a prompt
Currently, deleting a prompt isn’t supported, but stay tuned for changes in this area. As a workaround, prepend the prefix “DON’T USE - ,” “DEPRECATED - ” or something similar to the prompt name of any deprecated prompt.