Difference between revisions of "AI Assist"
| (One intermediate revision by the same user not shown) | |||
| Line 17: | Line 17: | ||
* <code>API_URI</code> The URL to your Azure OpenAI endpoint | * <code>API_URI</code> The URL to your Azure OpenAI endpoint | ||
* <code>API_KEY</code> The API key of your Azure OpenAI deployment | * <code>API_KEY</code> The API key of your Azure OpenAI deployment | ||
| − | * <code>AddToPrompt</code> A natural text you want to add to the system prompt, which can be used to fine tune the AI. Example: for the Context AI Assistant it could be set to ''"Add 'Your friendly AI Assistant.' in a random language to every ResponseText"''. From there on, every reply from the AI would be amendend with this phrase translated into a language | + | * <code>AddToPrompt</code> A natural text you want to add to the system prompt, which can be used to fine tune the AI. '''Example:''' for the Context AI Assistant it could be set to ''"Add 'Your friendly AI Assistant.' in a random language to every ResponseText"''. From there on, every reply from the AI would be amendend with this phrase translated into a language of it's choice. |
| + | {{Attention|If there's no configuration object found in the infrastructure, the AI will fall back to use Augmensys' demo OpenAI deployment!}} | ||
== BPM AI Assistant == | == BPM AI Assistant == | ||
Latest revision as of 10:52, 13 November 2025
| AI Support is currently a preview feature and not available in an official product release. Please contact us to get access to a respective version! |
General
All AI functionality in UBIK® requires Internet connectivity, so there is no offline support for these features. The AI features are based and built for an Azure OpenAI deployment with a GPT4.1 model, other models are currently not supported.
Configuration
Configuration of the AI can be achieved by a designated object in the infrastructure of the App/Context of the use case that needs AI support. The object needs to have the UID D4F3E8C2-5B6A-4F2A-9C1E-1234567890AB and carry a string property with the name AICONFIG. On this property a JSON configuration can be stored, that has the following structure:
"API_URI": "https://api.example.com/v1/ai",
"API_KEY": "your-api-key-here",
"AddToPrompt": ""
}
-
API_URIThe URL to your Azure OpenAI endpoint -
API_KEYThe API key of your Azure OpenAI deployment -
AddToPromptA natural text you want to add to the system prompt, which can be used to fine tune the AI. Example: for the Context AI Assistant it could be set to "Add 'Your friendly AI Assistant.' in a random language to every ResponseText". From there on, every reply from the AI would be amendend with this phrase translated into a language of it's choice.
| If there's no configuration object found in the infrastructure, the AI will fall back to use Augmensys' demo OpenAI deployment! |
BPM AI Assistant
This is an assistant trained for creating checklist in BPM format, in conjunction with upcoming graphical Procedure Designer for Web Clients.
Context AI Assistant
This is an assistant for mobile clients, that allows to discuss the current context object (the object the user currently looks at on teh mobile device) with the AI. It is also capable of modifying properties of this context object, in the name of the currently logged in user.
XAML customizing
| The AIAssistant control is currently only available for AI-enabled MAUI clients! |
The AIAssistant needs to be placed somewhere in XAML customizing, this example shows how to put it in an additional tab after the default Children, Properties and Documents tab in UBIKContentArea.xamlx:
<tabView:SfTabItem>
<tabView:SfTabItem.ImageSource>
<FontImageSource Glyph="" FontFamily="{StaticResource FASymbols}"/>
</tabView:SfTabItem.ImageSource>
<tabView:SfTabItem.Content>
<ai:AIAssistant />
</tabView:SfTabItem.Content>
<tabView:SfTabItem.Triggers>
<DataTrigger TargetType="tabView:SfTabItem" Binding="{Binding SelectedIndex, Source={x:Reference ContentTabs}}" Value="3">
<Setter Property="Header" Value="AI Assistant" />
</DataTrigger>
</tabView:SfTabItem.Triggers>
</tabView:SfTabItem>
