dialoguekit.core.intent

Interface representing an intent.

Classes

Intent

Initializes the intent.

Module Contents

class dialoguekit.core.intent.Intent(label: str, main_intent: None | Any | None = None)

Initializes the intent.

Parameters:
  • label – Intent label.

  • main_intent – The main_intent intent.

property label: str

Returns the Intent label.

property main_intent: Any | None

Returns the main intent.

property sub_intents: List[Any]

Returns a list of sub-intents.

property is_main_intent: bool

Returns bool if it is the main intent.

property has_sub_intents: bool

Returns bool if intent has sub intents.