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

    Class ContextHook

    What a turn is shown: the earlier turns the conversation's rule picked, in order, and the sections so far.

    Hierarchy

    • HookEvent
      • ContextHook
    Index
    conversation: ConversationLike
    parent: string | null
    program: unknown
    sections: string[]
    turns: ShownTurn[]
    • 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>