AI prompts
{system.ai.prompt}
This allows you to specify a prompt that should be passed to the AI service and get a response.
Sample Usage:
{system.ai.prompt(“You are completing a SWMS for Ladder Use with special conditions: ##var.Special-Job-Conditions##. List the task steps, hazards for each step and controls for each hazard. Keep your response brief. Provide the response format in an XML table with columns: steps, hazards, controls”)}
##var.variable-name##
This is a supporting placeholder that allows you to ask the user to input text that should be merged in the AI prompt before it is sent to the AI service. As per the example above, including a placeholder such as ##var.Special-Job-Conditions## will result in an input field "Special Job Conditions" where the user can enter additional information, which will later be included in the AI prompt.
{~~html}
This is a supporting placeholder that renders the AI response as html content.
Last updated