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> ValueOptions.forField(com.vaadin.flow.component.HasValue<?, V> field) Starts an options registration for a single-value field.static <T,C extends com.vaadin.flow.component.Component>
ValueOptions<T> ValueOptions.forField(com.vaadin.flow.data.selection.MultiSelect<C, T> field) Starts an options registration for a multi-select field.ValueOptions.itemLabelGenerator(com.vaadin.flow.component.ItemLabelGenerator<V> generator) Sets the item-to-label function the controller uses to derive the LLM-facing label for each item.ValueOptions.options(Collection<V> options) Sets a fixed item 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 TypeMethodDescription<V> FormAIControllerFormAIController.fieldValueOptions(ValueOptions<V> config) Registers a known set of items for a field.