Uses of Class
com.vaadin.flow.component.ai.form.ValueOptions
Packages that use ValueOptions
-
Uses of ValueOptions in com.vaadin.flow.component.ai.form
Methods in com.vaadin.flow.component.ai.form that return ValueOptionsModifier and TypeMethodDescriptionstatic <V> ValueOptions<V> Starts an options registration for a single-value field.static <T,C extends Component>
ValueOptions<T> ValueOptions.forField(MultiSelect<C, T> field) Starts an options registration for a multi-select field.ValueOptions.options(Collection<String> options) Sets a fixed label list.Sets a callback the controller invokes whenever the LLM needs to see the field's options.Methods in com.vaadin.flow.component.ai.form with parameters of type ValueOptionsModifier and TypeMethodDescriptionFormAIController.fieldValueOptions(ValueOptions<String> config) Registers a known set of labels for aString-typed field.<V> FormAIControllerFormAIController.fieldValueOptions(ValueOptions<V> config, Function<String, V> toValue) Registers a known set of labels for a field, paired with a converter that resolves a chosen label to the field's value type.