Main gateway class that extends APIBaseService.

Hierarchy (view full)

Constructors - Constructor

Properties

chat: Chat

Chat instance.

GenerateTextCompletions instance.

embeddings: Embeddings

Embeddings instance.

httpsAgentMap: WatsonXAI.HttpsAgentMap = ...
models: Models

Models instance.

policies: Policies
providers: Providers

Providers instance.

rateLimit: RateLimits
serviceUrl: string

URL required for watsonx inference endpoints

version: string

The version date for the API of the form YYYY-MM-DD.

wxServiceUrl: string

URL required for dataplatform endpoints

PLATFORM_URLS_MAP: Record<string, string> = PLATFORM_URL_MAPPINGS

Methods