eta.discourse.DialogueTurn

class DialogueTurn(utterance, gists=[], semantics=[], pragmatics=[], obligations=[], ep=None)[source]

Bases: object

Represents a dialogue turn by an agent, which contains the utterance as well as any associated dialogue information.

Parameters:
  • utterance (Utterance) – The utterance of this turn.

  • gists (list[str], optional) – A list of gist clauses capturing the meaning of this turn.

  • semantics (list[s-expr], optional) – A list of semantic interpretations of this turn.

  • pragmatics (list[s-expr], optional) – A list of pragmatic inferences drawn from this turn.

  • obligations (list[s-expr], optional) – A list of obligations created by this turn.

  • ep (str, optional) – The episode that this turn corresponds to.

agent

The agent of this turn (copied from the utterance for convenience).

Type:

str

utterance
Type:

Utterance

gists
Type:

list[str]

semantics
Type:

list[s-expr]

pragmatics
Type:

list[s-expr]

obligations
Type:

list[s-expr]

ep
Type:

str or None

Methods