eta.transducers.base.GistTransducer

class GistTransducer[source]

Bases: Transducer

Maps an utterance to a list of gist clauses, given a conversation history.

Parameters:
  • utt (Utterance) – The utterance to interpret as a gist clause.

  • conversation_log (list[DialogueTurn]) – The conversation history to use as context for interpretation.

Returns:

A list of gist clauses.

Return type:

list[str]

Methods

cost

Report cumulative costs of applying this transducer.

__call__(utt, conversation_log)[source]

Map from input(s) to output.

cost()

Report cumulative costs of applying this transducer.