Define AI text processing for text properties
AI text processing is only available if you have specified a connection to an external AI service provider.
AI text processing is activated and configured for relevant object classes in the meta-model. You can change the default settings.
The following text describes overwriting of standard settings in the class settings for an object class . This is the recommended method. Alternatively, the settings can also be done directly for the object class property in the Meta-Model tab of Alfabet Expand. In the attribute window of custom object class properties, you can edit the relevant AI text generation attributes on the root level. For protected object class properties, expand the Local Settings node and overwrite the settings on the root level with the settings in the Local Settings node. For private object class properties, you cannot change the AI attributes.
- In Alfabet Expand, go to the Presentation tab.
- In the explorer, expand the nodes Class Settings > the object class you would like to edit > the class settings you would like to edit.
- Right-click the Properties node and select Modify Property Behavior.
- The new property modification will be added as the last child node of the Properties node with a random property assignment. Click the node and select the relevant object class property in the Property Name attribute.
Each object class property can only be added once to the Properties node. If you do not find the object class property in the drop-down list, there is already a modification for this property. Change the existing property modification node.
- Set the AI text processing related attributes:
- AI Text Generation: Set this attribute to True to enable AI text processing features and the drop-down list of the AI Text Generation Related Properties attribute.
- AI Text Generation Related Properties: Open the editor of the attribute and select all object class properties of the type String of the current object class that may be relevant for AI text generation. At runtime, a JSON object is handed over to the AI as input for text generation. It contains
- the values of the current object for all selected object class properties,
- the content of the Comments attribute of all selected object class properties and of the text property the AI text is generated for, and
- any text the user has manually added to the text field.
- Property Group: Assign the object class property to an object class property group which does not contain anything else. You can create a new object class property group for this purpose. Add the object class property group to a content page of a content area or to a guided data view.