public AlexaCodec
Tock model to Alexa model Codec.
| Modifier and Type | Method and Description |
|---|---|
AlexaIntentsSchema |
exportIntentsSchema(java.lang.String invocationName,
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
java.util.Locale localeToExport,
AlexaFilter filter,
AlexaModelTransformer transformer)
Export a Tock model to an Alexa model (Skill Builder format).
|
@NotNull AlexaIntentsSchema exportIntentsSchema(@NotNull java.lang.String invocationName, @NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId, @NotNull java.util.Locale localeToExport, @Nullable AlexaFilter filter, @NotNull AlexaModelTransformer transformer)
Export a Tock model to an Alexa model (Skill Builder format).
invocationName - The invocation name.applicationId - The Tock application id.localeToExport - The locale.filter - A model filter if you don't want/need to export the whole model.transformer - A model transformer to adapt the alexa model.