Configuration details for a WatsonX.ai provider.

interface WatsonxaiConfig {
    api_version?: string;
    apikey: string;
    auth_url?: string;
    base_url: string;
    project_id?: string;
    space_id?: string;
}

Properties

api_version?: string

Overrides the WatsonX.ai API version to use.

apikey: string

The required authentication key for accessing WatsonX.ai services.

auth_url?: string

Overrides the URL to use for IBM Cloud IAM authentication.

base_url: string

Overrides the URL to use to access the IBM WatsonX.ai services.

project_id?: string

The IBM WatsonX.ai project ID (required if space_id is not provided).

space_id?: string

The IBM WatsonX.ai space ID (required if project_id is not provided).