Interface that extends the OpenAICallOptions interface and includes an optional promptIndex property. It represents the options that can be passed when making a call to the OpenAI Chat API.

interface OpenAIChatCallOptions {
    options?: OpenAICoreRequestOptions<Record<string, unknown>>;
    promptIndex?: number;
}

Hierarchy (view full)

Properties

options?: OpenAICoreRequestOptions<Record<string, unknown>>

Additional options to pass to the underlying axios request.

promptIndex?: number