Databricks SDK for JavaScript
    Preparing search index...

    Interface ModelProviderServiceConfig_CustomProviderDirectConfig

    Direct form of a custom provider configuration. Set api_key to the bearer token sent in the Authorization header.

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

    Properties

    Properties

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

    Authentication configuration. (-- Mutual exclusivity is enforced by the oneof on the wire. --)

    Type Declaration

    baseUrl?: string

    Endpoint URL of the OpenAI-compatible service (e.g., https://api.example.com/v1). Required on Create.