public class NlpQuery
A NLP parse query.
public NlpQuery(@NotNull
java.util.List<java.lang.String> queries,
@NotNull
java.lang.String namespace,
@NotNull
java.lang.String applicationName,
@NotNull
NlpQueryContext context,
@NotNull
NlpQueryState state,
@NotNull
java.util.Set<ai.tock.nlp.api.client.model.NlpIntentQualifier> intentsSubset)
A NLP parse query.
queries - A list of queries to parse.Usually there is only one element in the list, but some STT engines provides alternatives.namespace - The namespace of the application.applicationName - The name of the application.context - The context of the query.state - The state of the query.intentsSubset - The query is restricted to the specified intents only.If the set is empty all intents of the application are allowed.@NotNull public java.util.List<java.lang.String> getQueries()
A list of queries to parse.
Usually there is only one element in the list, but some STT engines provides alternatives.
@NotNull public java.lang.String getNamespace()
The namespace of the application.
@NotNull public java.lang.String getApplicationName()
The name of the application.
@NotNull public NlpQueryContext getContext()
The context of the query.
@NotNull public NlpQueryState getState()
The state of the query.
@NotNull public java.util.Set<ai.tock.nlp.api.client.model.NlpIntentQualifier> getIntentsSubset()
The query is restricted to the specified intents only.
If the set is empty all intents of the application are allowed.
@NotNull public java.util.List<java.lang.String> component1()
A list of queries to parse.
Usually there is only one element in the list, but some STT engines provides alternatives.
@NotNull public java.lang.String component2()
The namespace of the application.
@NotNull public java.lang.String component3()
The name of the application.
@NotNull public NlpQueryContext component4()
The context of the query.
@NotNull public NlpQueryState component5()
The state of the query.
@NotNull public java.util.Set<ai.tock.nlp.api.client.model.NlpIntentQualifier> component6()
The query is restricted to the specified intents only.
If the set is empty all intents of the application are allowed.
@NotNull public NlpQuery copy(@NotNull java.util.List<java.lang.String> queries, @NotNull java.lang.String namespace, @NotNull java.lang.String applicationName, @NotNull NlpQueryContext context, @NotNull NlpQueryState state, @NotNull java.util.Set<ai.tock.nlp.api.client.model.NlpIntentQualifier> intentsSubset)
A NLP parse query.
@NotNull public java.lang.String toString()
A NLP parse query.
public int hashCode()
A NLP parse query.
public boolean equals(@Nullable
java.lang.Object p)
A NLP parse query.