Changes

Template:AI

106 bytes added, 25 April
Using +AI with the Variable Processor
==Using +AI with the Variable Processor==
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'''.
 
 
'''Note''': In the @ai() there must be no spaces between parameters and commas.
===OpenAI===
The syntax used for prompts in web page views and workflows is:
[[File:AI_Syntax_FormatAI-Syntax-Format-New.png|none|800px]]
These parameters are explained as follows:
|-
||Ask AI to write an email for a specific user
||[[File:AI-Syntax-Prompt-Example-1-New.png|none|800px]]
|-
||Ask AI to write an email for a specific user using model gpt-4-0163
||[[File:AI-Syntax-Prompt-Example-New.png|none|800px]]
|-
||Ask AI to fix the spelling of a message
||[[File:AI-Syntax-Prompt-Example-2-New.png|none|800px]]
|-
||Ask the AI to write a grant application summary
||[[File:AI-Syntax-Prompt-Example-3-New.png|none|800px]]
|}
When using Azure AI, the syntax used within the variable processor is:
[[File:AI-Syntax-Prompt-Example-6-New.png|none|800px]]
These parameters are explained as follows:
Smartstaff
173
edits