public interface Suggester
| Modifier and Type | Method and Description | 
|---|---|
void | 
initWithParameters(SuggesterDescriptor descriptor)
Configure the Suggester instance with the parameters from the XML descriptor. 
 | 
List<Suggestion> | 
suggest(String userInput,
       SuggestionContext context)
Compute a list of possible user actions or intents given their input and context. 
 | 
List<Suggestion> suggest(String userInput, SuggestionContext context) throws SuggestionException
userInput - text typed by the usercontext - user contextSuggestionException - if the configuration or context are inconsistent, or a backing service is failing.void initWithParameters(SuggesterDescriptor descriptor) throws ComponentInitializationException
descriptor - XMap descriptor with the aggregate configuration information of the component.ComponentInitializationExceptionCopyright © 2019 Nuxeo. All rights reserved.