Uses of Class
com.vaadin.flow.component.ai.form.FormAIController
Packages that use FormAIController
-
Uses of FormAIController in com.vaadin.flow.component.ai.form
Methods in com.vaadin.flow.component.ai.form that return FormAIControllerModifier and TypeMethodDescriptionFormAIController.describeConfidenceLevel(ConfidenceLevel level, String description) Replaces the meaning the LLM is given for one confidence level, overriding the built-in wording in thefill_formtool description.FormAIController.describeField(HasValue<?, ?> field, String description) Adds a free-form description that the LLM sees alongside the field when deciding what to fill in.<V> FormAIControllerFormAIController.fieldValueOptions(ValueOptions<V> config) Registers a known set of items for a field.FieldValueChangeEvent.getSource()Returns the controller that produced this event.FormAIController.ignoreField(HasValue<?, ?> field) Hides the given field from the LLM.FormAIController.setFieldMarkerEnabled(boolean fieldMarkerEnabled) Controls whether every field whose value the AI changed during a turn is marked when the turn ends — an "AI" badge with a popover explaining the fill and offering a revert control.FormAIController.setFieldMarkerI18n(FieldMarkerI18n i18n) Sets the texts shown by the AI field marker — the "AI" badge, its tooltip, the popover with the revert control, and the confidence indicator — replacing the built-in English defaults.FormAIController.setFieldMarkerPopoverContentProvider(FieldMarkerPopoverContentProvider fieldMarkerPopoverContentProvider) Sets a provider that supplies extra content for the popover that opens when the AI field marker badge is clicked, shown between the explanation message and the revert control.FormAIController.setFieldValuesHidden(boolean valuesHidden) Controls whether the current value of every field is sent to the LLM as part of the form state.FormAIController.setSourceTrackingEnabled(boolean sourceTrackingEnabled) Controls whether the LLM is asked to report, along with each value it fills, the source it read: the snippets, where each snippet sits in the document, and aconfidence level.