Changes

Template:AI

2,415 bytes added, 9 May
m
Azure AI
The SmartSimple Cloud '''+AI''' integration gives you the ability to utilize large language models (LLM) from within our business process automation platform. LLMs may be utilized to improve productivity, processes, and outcomes. This article will walk-through currently available AI features and the configuration essentials of interfacing with the AI through the Variable Processor.
 
=Overview=
TheThere are a number of AI features that can be implemented within SmartSimple including: * '''[[+AI Directive]]:''' A multi-faceted feature that be used in conjunction with natural language, scripts and the variable processor to perform many time saving tasks such as analyzing text and automatically populating custom fields, summarizing and translating text, populating custom fields with internet-extracted data, converting text into other formats, comparing application requests with program objectives and providing a score, and much more.* '''[[+AI Insights]]:''' Create your own custom AI model for data analysis and reporting across multiple records within a UTA. Trained '''+AI Insight''' models can quickly provide answers that involve aggregation, summarization, and prediction without the need to spend time constructing list view filters and reports. Alternatively create a custom model at the organization level, available in your system header. '''+AI Insight''' models at the Organization level contain uploaded training data.* '''[[+AI Assistant]]:''' Execute actions at the record level such as updating statuses, modifying field values, or creating new fields, activities, and associations. Instead of finding a field and changing a value, use the hands-free voice interface to update the desired field.* '''+AI Workflow''': Streamline your workflow process by creating workflow tasks from natural language instructions with AI assistance, eliminating the need for manual task creation and connection.* '''[[+AI Vision]]:''' Upload an image and have the AI answer specific questions regarding the image contents without having to open and examine the image yourself.* '''[[Work with +AI]]:''' Interact with the AI at the record level in a conversational manner. Users have the option to use pre-made templates and prompt libraries to expedite common processes.* '''[[+AI Transcription]]:''' Generate text transcriptions of audio and visual media. To learn more, read our article on [[Enabling +AI Within Your System|enabling +AI within your system]].
=Configuration - Essentials=
==SubSectionSetting up +AI Integration==To get started setting up +AI integration, be sure to [[Enabling +AI Within Your System|read our page on enabling +AI within the system]]. ==SubSectionUsing +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 - Advanced=Mode''' > '''Variable Syntax Helper'''.  '''Note''': In the @ai() function call, there must be no spaces between parameters and commas. ==SubSection=OpenAI===SubSection===Settings Explained=Syntax==General Tab==The following settings syntax used for prompts in web page views and workflows is: [[File:AI-Syntax-Format-New.png|none|800px]] These parameters are available on explained as follows: * '''AI model''': (Optional) The name of the AI model being used by the service. If the service is OpenAI and the model is left unspecified, ChatGPT-4 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.* '''Generalinstruction''' tab:The natural language prompt for the AI. For example, "fix the spelling: how are yu tday?" or "Translate the following into Japanese: hello, world!".
{| class="wikitable"
|-
!|SettingExample Scenario!|DescriptionSyntax
|-
||'''Language'''Ask AI to write an email for a specific user||Each login page must have a single language which you can select from the dropdown[[File:AI-Syntax-Prompt-Example-1-New.png|none|800px]]
|-
||'''Is Default Login Page'''Ask AI to write an email for a specific user using model gpt-4-0163||By default, when a user goes to your system's URL without the Language ID, they will be directed to the '''English US''' language login page. If you want users to go to a different language login page by default, toggle this setting on for the login page with your desired language. Note[[File: only one login page can be set as the defaultAI-Syntax-Prompt-Example-New.png|none|800px]]
|-
||'''Page Layout'''Ask AI to fix the spelling of a message||Leave this setting on '''Default''' unless you specifically need to customize the HTML to your login page as it will ensure you will always have the latest and greatest looking login page. If you choose '''Custom''' you will get a '''Template''' tab where you can modify the underlying HTML of the login page. Note if you opt to go custom, you may need to manually update your login pages to take advantage of improvements or changes in functionality[[File:AI-Syntax-Prompt-Example-2-New.png|none|800px]]
|-
||'''Page Title'''||This is Ask the title your browser displays on it’s title bar or page tab. This text is used AI to populate the title tag in the HTML of the login page. Typically your organization's name is entered into this field.write a grant application summary||[[File:AI-||'''Login Title'''||Text entered here appears above the area where you authenticate. Typically the word "Login" is entered into this field.|Syntax-||'''Content Title'''||Text entered here appears above the custom message on the right area of the screen. Typically this is replaced with something like "Welcome to XYZ".|Prompt-||'''Content Text'''||Text entered here appears below the content title. Typically this area is used to describe who you are, what you do and what the system is used for. Example: "XYZ group provides grants to non-profits in the USA. Register to gain access to the system and apply for funding3-New."|-||'''Logout Redirect URL'''png|none|This is the page the user gets redirected to once they logout. Enter a URL such as ''https://www.smartsimple.com/'' or leave it blank to have the user redirected back to your system’s login page by default.800px]]
|}
===Template SettingsAzure AI===This following settings Azure AI can be used with the variable processor, custom field creation, and '''[[+AI Directive]]'''. Some '''+AI''' features such as '''[[+AI Assistant]]''' and '''[[+AI Insights]]''' are available when creating a template: not supported with Azure AI.
{| class="wikitable"|-||'''Section'''||Choose to show or hide the '''Privacy Policies''' for your system on the login page only.|-||'''Section Title'''===Syntax====||This input only appears if you are When using Azure AI, the '''Default''' page layout with privacy policies on. Typically people enter "Learn more about our".|-||'''Button Label'''||This input only appears if you are using syntax used within the '''Default''' page layout with '''Privacy Policies''' on. Enter the name you want to give the button that will open your systems policies that you define. Typically people enter "Privacy and Security Policies" for the button text.|}variable processor is:
[[File:AI-Syntax-Prompt-Example-6-New.png|none|800px]]
These parameters are explained as follows:
[[Category* '''Deployment ID''':Interface]](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. For example, "fix the spelling: how are yu tday?" or "Translate the following into Japanese: hello, world!".
Smartstaff
2,107
edits