resk-llm-ts - v2.2.0
    Preparing search index...

    Class OpenAIWrapper

    Index
    • Scan the input, call the model, then validate the output.

      Parameters

      • messages: { role: string; content: string }[]
      • Optionalcontext: Record<string, unknown>

      Returns Promise<unknown>