Index

C E F G H I K L R S T 
All Classes and Interfaces|All Packages|Serialized Form

C

ChatGPTChatCompletionService - Class in com.vaadin.flow.ai.formfiller.services
 
ChatGPTChatCompletionService() - Constructor for class com.vaadin.flow.ai.formfiller.services.ChatGPTChatCompletionService
 
ChatGPTService - Class in com.vaadin.flow.ai.formfiller.services
 
ChatGPTService() - Constructor for class com.vaadin.flow.ai.formfiller.services.ChatGPTService
 
com.vaadin.flow.ai.formfiller - package com.vaadin.flow.ai.formfiller
 
com.vaadin.flow.ai.formfiller.services - package com.vaadin.flow.ai.formfiller.services
 
com.vaadin.flow.ai.formfiller.utils - package com.vaadin.flow.ai.formfiller.utils
 
component() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentInfo
Returns the value of the component record component.
ComponentInfo(String, String, Component) - Constructor for record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentInfo
Creates an instance of a ComponentInfo record class.
componentInfoList() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentsMapping
Returns the value of the componentInfoList record component.
componentsJSONMap() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentsMapping
Returns the value of the componentsJSONMap record component.
ComponentsMapping(List<ComponentUtils.ComponentInfo>, Map<String, Object>, Map<String, String>) - Constructor for record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentsMapping
Creates an instance of a ComponentsMapping record class.
componentsTypesJSONMap() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentsMapping
Returns the value of the componentsTypesJSONMap record component.
ComponentUtils - Class in com.vaadin.flow.ai.formfiller.utils
Util class to deal with a component and its children (get children, map hierarchy, map types,...)
ComponentUtils() - Constructor for class com.vaadin.flow.ai.formfiller.utils.ComponentUtils
 
ComponentUtils.ComponentInfo - Record Class in com.vaadin.flow.ai.formfiller.utils
Record with information of a component to be filled.
ComponentUtils.ComponentsMapping - Record Class in com.vaadin.flow.ai.formfiller.utils
Record with information of the hierarchy of the components to be filled and the value types of each one of them.
createMapping(Component) - Static method in class com.vaadin.flow.ai.formfiller.utils.ComponentUtils
Creates the mapped structures with the information required to generate the prompt and fill the components after the response.

E

equals(Object) - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentsMapping
Indicates whether some other object is "equal to" this one.
ExperimentalFeatureException - Exception in com.vaadin.flow.ai.formfiller
An exception which is thrown when somebody attempts to use Form Filler without activating the associated Feature Flag first.
ExperimentalFeatureException() - Constructor for exception com.vaadin.flow.ai.formfiller.ExperimentalFeatureException
 

F

fill(String) - Method in class com.vaadin.flow.ai.formfiller.FormFiller
Fills automatically the target component analyzing the input source
fillComponents(List<ComponentUtils.ComponentInfo>, Map<String, Object>) - Static method in class com.vaadin.flow.ai.formfiller.utils.ComponentUtils
Fills the component(s) of the target component using the map with components and values.
FormFiller - Class in com.vaadin.flow.ai.formfiller
FormFiller component that using AI ChatGPT fills automatically from a natural language input text a component or group of components (layout).
Components supported: TextField EmailField PasswordField NumberField IntegerField BigDecimalField DatePicker TimePicker DateTimePicker TextArea Checkbox CheckboxGroup RadioButtonGroup ComboBox MultiSelectComboBox Grid To make a component available for the FormFiller, the component must have an id, and it should be meaningful to be understood by the AI module.

TextField textField = new TextField();
textField.setId("name");

FormLayout fl = new FormLayout();
fl.add(textField);

FormFiller formFiller = new FormFiller(fl);
formFiller.fill("My name is John");

The text field will be filled with "John".
FormFiller(Component) - Constructor for class com.vaadin.flow.ai.formfiller.FormFiller
Creates a FormFiller with default llmService, empty field instructions and empty context instructions.
FormFiller(Component, LLMService) - Constructor for class com.vaadin.flow.ai.formfiller.FormFiller
Creates a FormFiller with empty context instructions and empty context instructions with the given llmService.
FormFiller(Component, List<String>) - Constructor for class com.vaadin.flow.ai.formfiller.FormFiller
Creates a FormFiller with default llmService and empty field instructions.
FormFiller(Component, Map<Component, String>) - Constructor for class com.vaadin.flow.ai.formfiller.FormFiller
Creates a FormFiller with default llmService and empty context instructions.
FormFiller(Component, Map<Component, String>, List<String>) - Constructor for class com.vaadin.flow.ai.formfiller.FormFiller
Creates a FormFiller with default llmService.
FormFiller(Component, Map<Component, String>, List<String>, LLMService) - Constructor for class com.vaadin.flow.ai.formfiller.FormFiller
Creates a FormFiller to fill the target component or group of components (layout) and includes additional instructions for the AI module (i.e.: field format, field context, etc...)
FormFillerResult - Class in com.vaadin.flow.ai.formfiller
FormFiller result after a FormFiller.fill(java.lang.String) call.
FormFillerResult(String, String) - Constructor for class com.vaadin.flow.ai.formfiller.FormFillerResult
 
FormFillerStats - Class in com.vaadin.flow.ai.formfiller.services
Reports vaadin-form-filler statistics.
FormFillerStats() - Constructor for class com.vaadin.flow.ai.formfiller.services.FormFillerStats
 

G

getAllChildren(Component) - Static method in class com.vaadin.flow.ai.formfiller.utils.ComponentUtils
Get all children from a parent component
getComponentInfo(Component) - Static method in class com.vaadin.flow.ai.formfiller.utils.ComponentUtils
Get all the components detailed information from a parent component.
getComponentInstructions() - Method in class com.vaadin.flow.ai.formfiller.FormFiller
 
getContextInstructions() - Method in class com.vaadin.flow.ai.formfiller.FormFiller
 
getGeneratedResponse(String) - Method in class com.vaadin.flow.ai.formfiller.services.ChatGPTChatCompletionService
 
getGeneratedResponse(String) - Method in class com.vaadin.flow.ai.formfiller.services.ChatGPTService
 
getGeneratedResponse(String) - Method in interface com.vaadin.flow.ai.formfiller.services.LLMService
Generates a response based on the input prompt from the AI module.
getMapping() - Method in class com.vaadin.flow.ai.formfiller.FormFiller
 
getOpenAiKey() - Static method in class com.vaadin.flow.ai.formfiller.utils.KeysUtils
 
getPromptTemplate(String, Map<String, Object>, Map<String, String>, Map<Component, String>, List<String>) - Method in class com.vaadin.flow.ai.formfiller.services.ChatGPTChatCompletionService
 
getPromptTemplate(String, Map<String, Object>, Map<String, String>, Map<Component, String>, List<String>) - Method in class com.vaadin.flow.ai.formfiller.services.ChatGPTService
 
getPromptTemplate(String, Map<String, Object>, Map<String, String>, Map<Component, String>, List<String>) - Method in interface com.vaadin.flow.ai.formfiller.services.LLMService
Generates a prompt based on the input, the target components and any extra instruction.
getRequest() - Method in class com.vaadin.flow.ai.formfiller.FormFillerResult
 
getResponse() - Method in class com.vaadin.flow.ai.formfiller.FormFillerResult
 

H

hashCode() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentInfo
Returns a hash code value for this object.
hashCode() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentsMapping
Returns a hash code value for this object.

I

id() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentInfo
Returns the value of the id record component.
isSupportedComponent(Component) - Static method in class com.vaadin.flow.ai.formfiller.utils.ComponentUtils
 

K

KeysUtils - Class in com.vaadin.flow.ai.formfiller.utils
 
KeysUtils() - Constructor for class com.vaadin.flow.ai.formfiller.utils.KeysUtils
 

L

LLMService - Interface in com.vaadin.flow.ai.formfiller.services
A LLM service that generates a response based on a prompt.

R

report() - Static method in class com.vaadin.flow.ai.formfiller.services.FormFillerStats
 

S

setRequest(String) - Method in class com.vaadin.flow.ai.formfiller.FormFillerResult
 
setResponse(String) - Method in class com.vaadin.flow.ai.formfiller.FormFillerResult
 

T

toString() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentInfo
Returns a string representation of this record class.
toString() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentsMapping
Returns a string representation of this record class.
type() - Method in record class com.vaadin.flow.ai.formfiller.utils.ComponentUtils.ComponentInfo
Returns the value of the type record component.
C E F G H I K L R S T 
All Classes and Interfaces|All Packages|Serialized Form