Configuring a Prompt
Component Management
The first step is to create a new text field for the system to store the suggestions it received from the AI.
- Designer Component Management select a component for which you wish to setup Suggestion Assistant, let’s select Hazard Identification as an example.
- Add a new data field of Field Type "Text" and update the Maximum Size to be 4000 characters. The field can be named as '{sys} Suggested Immediate Actions'.
- Save the change.
Suggestion Prompt Designer
Define the prompt that will be sent to the AI engine - this is where you define the question you want to ask.
- Create a new Suggestion Prompt by navigating to Designer Artificial Intelligence Suggestion Prompts. You will see the list of all Suggestion Prompts configured.
Label
|
Notes
|
Component
|
Select the component where we need to setup the Suggestion Assistant. In our example, we have selected Hazard Identification.
|
Destination Field
|
Clicking on Pick Destination Field will load up all the Text attributes for the selected Component.
Select the field that will be populated with the AI’s answer
e.g. {sys} Suggested Immediate Actions
|
Name
|
Specify a name for this Suggestion prompt
|
Description
|
Optional field to add in some description related to this prompt
|
Prompt
|
This is the space where you can define the text that will be sent to the AI engine. You can set this up with placeholder fields and the system will substitute the values from the record and send it to the engine.
Example Prompt:
I have just identified this hazard: "[Summary]. [Detailed Description]" What immediate action should I take to ensure a safe workplace?
Please limit your response to 3 suggestions, no more than 100 words in total
In the above example, the system will replace [Summary] and [Detailed Description] with values entered in the Hazard Identification record.
|
Active
|
Denotes if the prompt is active or not.
When ticked, that suggestion prompt is active, which means whenever any of the record fields included in the prompt are updated, the system will gather the data, send the prompt to the AI, and update the Destination Field with the results.
|
In addition to setting up the Suggestion Prompt, you can also define a General Context under Designer Artificial Intelligence General Context
This information will be sent as a preface for all the Suggestion Prompts to set the context with the AI engine.
An example General Context is:
Our company is a Western Australian energy utility company - Please ensure any responses take this into account. Please use direct "business" language in all responses.
|