functai for TypeScript - v0.1.0
    Preparing search index...

    Class TurnStartHook

    A conversation's turn, before it is recorded: its inputs (as given), its conversation's id, the turn it continues.

    Hierarchy

    • HookEvent
      • TurnStartHook
    Index
    • Parameters

      • inputs: Rec
      • conversation: string
      • parent: string | null
      • program: unknown

      Returns TurnStartHook

    conversation: string
    inputs: Rec
    parent: string | null
    program: unknown
    • This plugin's entries of a kind on the branch of the turn the call runs in ([] outside a conversation).

      Parameters

      • kind: string

      Returns Rec[]

    • Keep an entry of this plugin at the turn the call runs in (outside a conversation, a TypeError).

      Parameters

      • kind: string
      • data: unknown

      Returns Promise<void>