Generative AI can be added to fields through the field definitions. When a field has Generative AI enabled, a sparkles icon will be displayed above the field and selecting it will open a popup window where you can use the generative AI service.
Currently the following fields support Generative AI and will display the option to enable it through its field definition:
- HTML String
- String
- UploadFile
To enable Generative AI on one of the above field types, navigate to the fields field definition and select the Yes option on Enable AI Enhancement which is available in the AI Augmentation tab. This will then display the fields needed to connect to the AI Connection and what the AI Enhancement Type is. Upon adjusting the AI Enhancement Type you will see the fields related to that type to configure additional settings.
The results in the AI Enhancement Type will vary depending on what field you’re enabling AI Enhancement on. Here is a list of AI Enhancement Types and the fields they’re available on:
- Text Completion
- String
- HTML String
- Text To Speech
- UploadFile
The AI Connection field should contain the name of the AI Connection you want the field to use, the AI Connection must be declared in the same workspace as the field, if it’s not then AI Enhancement will not work on the field. Adjust all other fields to your liking, then clear the application state and AI Enhancement will be available on the field.
Below is a screenshot of the field with the sparkles icon that indicates that AI Enhancement is enabled, along with an example of Text Generation: