ART Framework API Docs
    Preparing search index...

    Interface OpenAIAdapterOptions

    Configuration options required for the OpenAIAdapter.

    interface OpenAIAdapterOptions {
        apiBaseUrl?: string;
        apiKey: string;
        defaultMaxTokens?: number;
        defaultTemperature?: number;
        model?: string;
    }
    Index

    Properties

    apiBaseUrl?: string

    Optional: Override the base URL for the OpenAI API (e.g., for Azure OpenAI or custom proxies).

    apiKey: string

    Your OpenAI API key. Handle securely.

    defaultMaxTokens?: number

    Optional: Default maximum tokens for responses.

    defaultTemperature?: number

    Optional: Default temperature for responses.

    model?: string

    The default OpenAI model ID to use (e.g., 'gpt-4o', 'gpt-5', 'gpt-5-mini').