Once '''+AI''' integration has been set up, the automation mode can be used in various areas of the system. The existing SmartSimple variable processor has been modified in order to allow you to interface with the third-party AI vendor. To familiarize yourself with the syntax and possible statements, you can test the syntax using the '''Variable Syntax Helper''' by opening a object record and going to '''Tools''' > '''Configuration Mode''' > '''Variable Syntax Helper'''.
===OpenAI===
====Syntax====
The syntax used for prompts in web page views and workflows is:
'''<u>Note:</u>''' Specifying a model is only available for OpenAi. If using Azure see last example where you specify a "Deployment ID".
||[[File:AI-Syntax-Prompt-Example.png|none|800px]]
|-
||Ask the AI to write a grant application summary
||[[File:AI-Syntax-Prompt-Example-3.png|none|800px]]
|-} ===Azure AI===Azure AI can be used with the variable processor. Some '''+AI''' features such as '''+AI Assistant''' and '''+AI Insight''' are not supported with Azure AI. ====Syntax====||Ask When using Azure AI (different , the syntax used within the variable processor is: [[File:AI vendor) a question-Syntax-Prompt-Example-6.png|none|800px]]
'''<u>NoteThese parameters are explained as follows:</u>''' Some '''+AI''' features such as '''+AI Assistant''' and '''+AI Insight''' are not supported with Azure AI. "Deployment ID" is an optional parameter that refers to a specific Azure AI model. If left unspecified, the model configured within the '''Integration Key Management''' settings will be used.
||[[File* '''Deployment ID''':(Optional) The deployment ID of the Azure model being used. If the deployment ID is left unspecified, the model configured within the '''Integration Key Management''' settings will be used by default.* '''temperature''': Sets the desired level of randomness of the generated text, where a value of "0" is the most conservative while a value of "9" is the most random.* '''instruction''': The natural language prompt for the AI-Syntax-Prompt-Example-6.png|none|800px]]|}For example, "fix the spelling: how are yu tday?" or "Translate the following into Japanese: hello, world!".