AI Input Assistance
Discover / Frameworks / SAP Fiori Elements / AI Features
Intro
AI input assistance eases data entry for a new or existing object by recommending values for the input fields, based on previous input or business data. The intelligent suggestions are displayed as recommended values in the input fields for users to accept or to reject.
After the user rejects a recommended value, the AI input assistance doesn’t recommend it again until the user ends the “object session,” by saving and closing the object. Instead, it recommends other available values.
All values rejected in one object session become available for recommendation again in the next session after the user reopens the closed object or opens another object to create or edit it.
AI input assistance is available in applications developed with SAP Fiori elements for OData V4.
Input field with grouped recommendations and autocomplete suggestions
When to Use
Do
Use the AI input assistance in workflows where the user enters data in input fields on the object page:
- To streamline repetitive or common actions, for example, creating many objects of the same type
- To enhance and speed up the user’s workflow
- When previously entered data is available to propose with intelligent recommendations for input fields
Don't
Don’t use the AI input assistance:
- When the user’s intent is unpredictable
- To provide recommendations unrelated to AI
Input assistance isn't available for the following fields:
- Fields without value help (except those with a dropdown list)
- Fields with multiple values
- Custom fields
- Fields that have more than one key field in their value help entity. For example, if the field "Plant" has two key fields, namely "PlantID" and ''RegionID", to uniquely identify a given plant, the field "Plant" must be excluded from providing recommendations.
Anatomy
The AI input assistance extends the following components and properties to enable new AI-specific interactions:
- Input field
- Input field with autocomplete suggestions and grouping
- Input field with tabular suggestions and grouping
- Unaccepted recommendations message box
Input Field
- Label
- AI-recommended value is displayed in placeholder text
- Input field in the information value state
Anatomy of the input field
Grouped Recommendations and Suggestions
- Message strip at the top of the select dropdown displays a message to inform the user of the AI recommendations
- Group header “Recommendations” followed by the AI-recommended values in the dropdown
- Group header “Other” followed by the remaining items in the dropdown
Anatomy of the input field control with grouped recommendations and suggestions
Unaccepted Recommendations Message Box
Anatomy of the ‘Unaccepted Recommendations’ dialog
- Information icon and header
- Label of each input field with the value of the unaccepted recommendation
- Footer with buttons for accepting the recommendations, ignoring them, or continuing to edit the object by closing the dialog without acting on the recommendations
Behavior & Interaction
Recommendations are displayed in empty input fields on an object page in both create and edit modes.
The display of additional recommendations or new recommended values are triggered when the user:
- Scrolls to a new section
- Displays a new tab
- Creates a new table row inline
- Refreshes the object page
- Changes the value of a field that is configured for recommendation update
The user can accept or reject the recommendations:
- Individually via the input field
- As a group in the Unaccepted Recommendations dialog
After the user rejects a recommended value, the AI input assistance doesn’t recommend it again until the user ends the “object session,” by saving and closing the object. Instead, it recommends other values, if available.
All values rejected in one object session become available for recommendation in the next session after the user reopens the closed object or opens another one to create or edit it.
Accepting or Rejecting Recommendations in the Input Field
Input field with recommendations
A. The input field displays the recommended value in the information value state and placeholder text. Only one recommended value is visible in the field, although there may be others.
B. The user selects the input field, and the dropdown menu is displayed with a message strip that highlights the recommended value or values.
- To accept a recommended value, the user selects it from the dropdown.
- To reject the recommended value, the user selects a different value.
C. The input field displays the selected value in a regular state.
Accepting or Rejecting Recommendations in the “Unaccepted Recommendations” Dialog
The Unaccepted Recommendations dialog is displayed after the user selects the create or save action, before acting on all the recommendations for each input field.
In the dialog, the user selects the actions to apply to all the unaccepted recommendations or the action to continue editing the object.