Class OrchestrationClient

java.lang.Object
com.sap.ai.sdk.orchestration.OrchestrationClient

public class OrchestrationClient extends Object
Client to execute requests to the orchestration service.
  • Constructor Details

    • OrchestrationClient

      public OrchestrationClient()
      Default constructor.
    • OrchestrationClient

      public OrchestrationClient(@Nonnull com.sap.cloud.sdk.cloudplatform.connectivity.HttpDestination destination)
      Constructor with a custom destination, allowing for a custom resource group or otherwise custom destination. The destination needs to be configured with a URL pointing to an orchestration service deployment. Typically, such a destination should be obtained using AiCoreService.getInferenceDestination(String).

      Example:

      
       new OrchestrationClient(new AiCoreService().getInferenceDestination("custom-rg").forScenario("orchestration"));
       
      Parameters:
      destination - The specific HttpDestination to use.
      See Also:
  • Method Details