Creates an instance of the orchestration client.
Orchestration configuration. Can be:
OrchestrationModuleConfig object for inline configurationOrchestrationModuleConfigList array for module fallback (tries each config in order until one succeeds)OrchestrationConfigRef to reference a stored configuration by ID or name.OptionaldeploymentConfig: DeploymentIdConfig | ResourceGroupConfigDeployment configuration.
Optionaldestination: The destination to use for the request.
OptionalserviceBindingTransformFn?: ServiceBindingTransformFunctionCustom transformation function to control how a Destination is built from the given Service.
The name of the destination to retrieve from service bindings.
Optionalservice?: undefinedSend a chat completion request to the orchestration service.
Optionalrequest: ChatCompletionRequestRequest 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: ChatCompletionRequestRequest containing messages, placeholder values, and message history.
Optionalsignal: AbortSignalAn abort signal to cancel the request.
Optionaloptions: StreamOptionsStreaming 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.
Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.
Get the orchestration client.