tock / ai.tock.bot.admin.story / StoryDefinitionConfigurationMandatoryEntity

StoryDefinitionConfigurationMandatoryEntity

data class StoryDefinitionConfigurationMandatoryEntity : StoryDefinitionAnswersContainer (source)

A required entity in a StoryDefinitionConfiguration.

Constructors

<init>

A required entity in a StoryDefinitionConfiguration.

StoryDefinitionConfigurationMandatoryEntity(role: String, entityType: String = role, intent: IntentWithoutNamespace, answers: List<AnswerConfiguration>, currentType: AnswerConfigurationType)

Properties

answers

The answers available.

val answers: List<AnswerConfiguration>

currentType

The type of answer configuration.

val currentType: AnswerConfigurationType

entityType

The type of mandatory entity.

val entityType: String

entityTypeName

val entityTypeName: String

intent

The intent used to find the entities.

val intent: IntentWithoutNamespace

role

The role of the mandatory entity.

val role: String