Class StandardAction<K>

Type Parameters

  • K = void

Hierarchy (view full)

Constructors

Properties

action: ((content) => Promise<{
    data?: K;
    message: string;
}>)

Type declaration

    • (content): Promise<{
          data?: K;
          message: string;
      }>
    • Parameters

      • content: any

      Returns Promise<{
          data?: K;
          message: string;
      }>

client: OpenAI
context: string
contextId: string
history: Message[] = []
id: string
maxDepth: number
model: string
schema: ZodType<any, ZodTypeDef, any>
verbose: boolean

Accessors

Methods

Generated using TypeDoc