OpenAI provider.

interface IChatGpt {
    api: OpenAI;
    model: ChatModel;
    options?: RequestOptions;
    type: "chatgpt";
}

Properties

Properties

api: OpenAI

OpenAI API instance.

model: ChatModel

Chat model to be used.

options?: RequestOptions

Options for the request.

type: "chatgpt"

Discriminator type.