Package ai.tock.nlp.front.shared.config
Class FaqQueryResult
-
- All Implemented Interfaces:
public final class FaqQueryResultFaq result after queried Please note when updating the model, consider to update the group pipeline result in FaqDefintionMongoDAO in DocumentDb Mode
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<FaqDefinition>_idprivate final StringbotIdprivate final Stringnamespaceprivate final Id<IntentDefinition>intentIdprivate final Id<I18nLabel>i18nIdprivate final List<String>tagsprivate final Booleanenabledprivate final InstantcreationDateprivate final InstantupdateDateprivate final List<ClassifiedSentence>utterancesprivate final IntentDefinitionfaqprivate final StringstoryName
-
Constructor Summary
Constructors Constructor Description FaqQueryResult(Id<FaqDefinition> _id, String botId, String namespace, Id<IntentDefinition> intentId, Id<I18nLabel> i18nId, List<String> tags, Boolean enabled, Instant creationDate, Instant updateDate, List<ClassifiedSentence> utterances, IntentDefinition faq, String storyName)
-
Method Summary
Modifier and Type Method Description final Id<FaqDefinition>get_id()final StringgetBotId()final StringgetNamespace()final Id<IntentDefinition>getIntentId()final Id<I18nLabel>getI18nId()final List<String>getTags()final BooleangetEnabled()final InstantgetCreationDate()final InstantgetUpdateDate()final List<ClassifiedSentence>getUtterances()final IntentDefinitiongetFaq()final StringgetStoryName()final FaqDefinitionDetailedtoFaqDefinitionDetailed(FaqQueryResult faqQueryResult, I18nLabel i18nLabel)Convert FaqQueryResult to FaqDefinitionDetailed with I18nLabel -
-
Constructor Detail
-
FaqQueryResult
FaqQueryResult(Id<FaqDefinition> _id, String botId, String namespace, Id<IntentDefinition> intentId, Id<I18nLabel> i18nId, List<String> tags, Boolean enabled, Instant creationDate, Instant updateDate, List<ClassifiedSentence> utterances, IntentDefinition faq, String storyName)
-
-
Method Detail
-
get_id
final Id<FaqDefinition> get_id()
-
getNamespace
final String getNamespace()
-
getIntentId
final Id<IntentDefinition> getIntentId()
-
getI18nId
final Id<I18nLabel> getI18nId()
-
getEnabled
final Boolean getEnabled()
-
getCreationDate
final Instant getCreationDate()
-
getUpdateDate
final Instant getUpdateDate()
-
getUtterances
final List<ClassifiedSentence> getUtterances()
-
getFaq
final IntentDefinition getFaq()
-
getStoryName
final String getStoryName()
-
toFaqDefinitionDetailed
final FaqDefinitionDetailed toFaqDefinitionDetailed(FaqQueryResult faqQueryResult, I18nLabel i18nLabel)
Convert FaqQueryResult to FaqDefinitionDetailed with I18nLabel
- Returns:
-
-
-
-