dialoguekit.core.dialogue_act¶
Interface representing a dialogue act.
For example in the following utterance, we have a dialogue act with an intent and its annotations regarding the search for a restaurant:
>USER: I am looking for a cheap Turkish restaurant. DialogueAct(
intent = Intent(“DISCLOSE”), annotations = [Annotation(food=”Turkish”), Annotation(price_range=”cheap”)],
)
In the following utterance, the dialogue act only has an intent: > USER: I like it. DialogueAct(
intent = Intent(“DISCLOSE”) annotations = []
)
Classes¶
Represents a dialogue act that is an intent and its annotations. |
Module Contents¶
- class dialoguekit.core.dialogue_act.DialogueAct¶
Represents a dialogue act that is an intent and its annotations.
- intent: dialoguekit.core.intent.Intent¶
- annotations: List[dialoguekit.core.annotation.Annotation]¶