Databricks SDK for JavaScript
    Preparing search index...

    Interface ModelProviderServiceConfig_OpenAiProviderDirectConfig

    Direct (inline-credentials) form of the OpenAI provider config.

    interface ModelProviderServiceConfig_OpenAiProviderDirectConfig {
        authMode?: {
            $case: "apiKey";
            apiKey: ModelProviderServiceConfig_ProviderSecret;
        };
        baseUrl?: string;
        organization?: string;
    }
    Index

    Properties

    authMode?: {
        $case: "apiKey";
        apiKey: ModelProviderServiceConfig_ProviderSecret;
    }

    Authentication mode. Exactly one variant may be set. (-- Wrapped in a oneof so future auth modes (e.g. a UC service credential) can be added as additional variants without a breaking change. --)

    Type Declaration

    baseUrl?: string

    Optional custom base URL. Defaults to https://api.openai.com/v1. Use for OpenAI-API-compatible third-party endpoints or in-network proxies.

    organization?: string

    Optional OpenAI organization ID. When set, the platform forwards it as the OpenAI-Organization header.