Changes

Template:AI

929 bytes added, 17:46, 19 June 2023
m
Automation Mode
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 AI server. 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'''.
===Configuring Automation Mode===
===Syntax===
 
The syntax used for prompts in web page views and workflows is:
 
[[File:AI Syntax Format.png|none|800px]]
 
These parameters are explained as follows:
 
* '''AI service:''' The AI service being used. If left empty, OpenAI will be used as default.
* '''AI function:''' Set the intended use of the input text. If the text is meant to be static, set the value to "text". If the text is meant to be edited by the AI, set the value to "edit".
* '''temperature:''' Set 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:''' Optional parameter when using the edit AI function.
 
<u>'''Note:'''</u> If the AI function parameter has been set to "edit", you must pass instructions to the instruction parameter on how the text should be edited in natural language. For example, "fix the grammar", "make this in the style of a poem", or "translate this into Japanese".
=Configuration - Advanced=
Smartstaff
2,363
edits