Class OpenAIAssistantRunnable<AsAgent, RunInput>

Type Parameters

  • AsAgent extends boolean | undefined

  • RunInput extends Record<string, any> = Record<string, any>

Hierarchy

  • Toolkit<RunInput, ExtractRunOutput<AsAgent>>
    • OpenAIAssistantRunnable

Constructors

Properties

assistantId: string
pollIntervalMs: number = 1000
asAgent?: AsAgent

Methods

  • Modifies an assistant.

    Type Parameters

    • AsAgent extends boolean

    Parameters

    • __namedParameters: Omit<OpenAIAssistantRunnableInput<AsAgent>, "assistantId" | "tools"> & {
          fileIds?: string[];
          instructions?: string;
          model?: string;
          name?: string;
      }

    Returns Promise<any>

    Link

Generated using TypeDoc