Class PromptRegistryClient

java.lang.Object
com.sap.ai.sdk.prompt.registry.PromptRegistryClient

public class PromptRegistryClient extends Object
Unified client to use Prompt Registry API.
Since:
2.0
  • Constructor Details

    • PromptRegistryClient

      public PromptRegistryClient()
      Constructs default PromptRegistryClient.
    • PromptRegistryClient

      public PromptRegistryClient(@Nonnull AiCoreService service)
      Constructs PromptRegistryClient with customized AiCoreService.
      Parameters:
      service - customized AiCoreService.
  • Method Details

    • prompt

      @Nonnull public PromptTemplatesApi prompt()
      Get the prompt templates' client.
      Returns:
      the client.
    • orchestrationConfig

      @Nonnull public OrchestrationConfigsApi orchestrationConfig()
      Get the orchestration configs client.
      Returns:
      the client.