Parameters for the createOpenaiProvider operation.

interface CreateOpenaiProviderParams {
    dataReference: ProviderDataReference;
    headers?: OutgoingHttpHeaders;
    name: string;
    providerName: "openai";
    signal?: AbortSignal;
}

Hierarchy (view full)

Properties

dataReference: ProviderDataReference

Data Reference is a reference to a remote credential store. For example, an IBM Cloud Secrets Manager secret. The Value in the remote store is expected to be a JSON representation of the Data field.

headers?: OutgoingHttpHeaders
name: string

Name can only contain alphanumeric characters, single spaces (no consecutive spaces), hyphens (-), parentheses (), and square brackets []. No leading or trailing spaces are allowed.

providerName: "openai"

Name of provider choosen for creation

signal?: AbortSignal