Creates an instance of the orchestration client with an inline module configuration.
A single orchestration module configuration.
OptionaldeploymentConfig: DeploymentIdConfig | ResourceGroupConfig
Deployment configuration.
Optionaldestination: HttpDestinationOrFetchOptions
The destination to use for the request.
Creates an instance of the orchestration client referencing a stored configuration by its unique ID.
An object with the configuration id.
OptionaldeploymentConfig: DeploymentIdConfig | ResourceGroupConfig
Deployment configuration.
Optionaldestination: HttpDestinationOrFetchOptions
The destination to use for the request.
Creates an instance of the orchestration client referencing a stored configuration by scenario, name and version.
An object with scenario, name, and version.
OptionaldeploymentConfig: DeploymentIdConfig | ResourceGroupConfig
Deployment configuration.
Optionaldestination: HttpDestinationOrFetchOptions
The destination to use for the request.
Creates an instance of the orchestration client with a JSON string configuration.
A JSON string obtained from AI Launchpad.
OptionaldeploymentConfig: DeploymentIdConfig | ResourceGroupConfig
Deployment configuration.
Optionaldestination: HttpDestinationOrFetchOptions
The destination to use for the request.
Creates an instance of the orchestration client with an inline module configuration.
OptionaldeploymentConfig: DeploymentIdConfig | ResourceGroupConfig
Deployment configuration.
Optionaldestination: HttpDestinationOrFetchOptions
The destination to use for the request.
OptionaldeploymentConfig: DeploymentIdConfig | ResourceGroupConfigOptionaldestination: HttpDestinationOrFetchOptionsSend a chat completion request to the orchestration service.
Optionalrequest: ChatCompletionRequest
Request containing messages, placeholder values, and message history.
OptionalrequestConfig: Pick<Additional request configuration. Use requestConfig.headers to pass service-specific headers:
AI-Object-Store-Secret-Name: Name of the object store secret used by the feedback service.The orchestration service response.
Create a streaming chat completion request to the orchestration service.
Optionalrequest: ChatCompletionRequest
Request containing messages, placeholder values, and message history.
Optionalsignal: AbortSignal
An abort signal to cancel the request.
Optionaloptions: StreamOptions
Streaming options, e.g., for input/output filtering.
OptionalrequestConfig: Pick<Additional request configuration. Use requestConfig.headers to pass service-specific headers:
AI-Object-Store-Secret-Name: Name of the object store secret used by the feedback service.The orchestration stream response.
Client for the SAP AI Core Orchestration Service.
Remarks
The configuration (model, parameters, tools, etc.) is fixed at construction time. To use different model parameters or tools for a specific request, create a new
OrchestrationClientinstance with the desired configuration.