Jump to: navigation, search

Changes


AI Assist

205 bytes added, 17 June
/* Configuration */
== Configuration ==
 
===Mobile===
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 <code>D4F3E8C2-5B6A-4F2A-9C1E-1234567890AB</code> and carry a string property with the name <code>AICONFIG</code>. On this property a JSON configuration can be stored, that has the following structure:
* <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.
===Web===For WebClients, the configuration must be stored in appconfig.json: <source lang="xml">"AI": { "API_URI": "https://api.example.com/v1/ai", "API_KEY": "your-api-key-here", "AddToPrompt": ""}</source> {{Attention|If there's no configuration object found in the infrastructure, the AI features will not work and you will get a respective message in the chat window!}}