Configuration details for an OpenAI provider.

interface OpenAIConfig {
    apikey: string;
    base_url?: string;
}

Properties

Properties

apikey: string

The required authentication key for accessing the OpenAI API.

base_url?: string

Override the URL used to access the OpenAI provider services. This URL can point to any OpenAI-compatible model provider service.