Package com.sap.ai.sdk.prompt.registry
Class PromptRegistryClient
java.lang.Object
com.sap.ai.sdk.prompt.registry.PromptRegistryClient
Unified client to use Prompt Registry API.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs default PromptRegistryClient.PromptRegistryClient(AiCoreService service) Constructs PromptRegistryClient with customized AiCoreService. -
Method Summary
Modifier and TypeMethodDescriptionGet the orchestration configs client.prompt()Get the prompt templates' client.
-
Constructor Details
-
PromptRegistryClient
public PromptRegistryClient()Constructs default PromptRegistryClient. -
PromptRegistryClient
Constructs PromptRegistryClient with customized AiCoreService.- Parameters:
service- customized AiCoreService.
-
-
Method Details
-
prompt
Get the prompt templates' client.- Returns:
- the client.
-
orchestrationConfig
Get the orchestration configs client.- Returns:
- the client.
-