Package com.sap.ai.sdk.prompt.registry

# Class PromptClient

java.lang.Object
com.sap.cloud.sdk.services.openapi.apache.apiclient.BaseApi
com.sap.ai.sdk.prompt.registry.client.PromptTemplatesApi
com.sap.ai.sdk.prompt.registry.PromptClient

public class PromptClient extends PromptTemplatesApi
Client for the Prompt Registry service.

Since:
  1.6.0

- ## Field Summary

  ### Fields inherited from class com.sap.cloud.sdk.services.openapi.apache.apiclient.BaseApi

  `apiClient, defaultHeaders`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PromptClient()`
  Instantiates this a client to invoke operations on the Prompt Registry service.
  `PromptClient(AiCoreService aiCoreService)`
  Instantiates this a client to invoke operations on the Prompt Registry service.

- ## Method Summary

  ### Methods inherited from class com.sap.ai.sdk.prompt.registry.client.PromptTemplatesApi

  `createUpdatePromptTemplate, createUpdatePromptTemplate, deletePromptTemplate, deletePromptTemplate, exportPromptTemplate, exportPromptTemplate, getPromptTemplateByUuid, getPromptTemplateByUuid, importPromptTemplate, importPromptTemplate, listPromptTemplateHistory, listPromptTemplateHistory, listPromptTemplates, listPromptTemplates, parsePromptTemplateById, parsePromptTemplateById, parsePromptTemplateByNameVersion, parsePromptTemplateByNameVersion, withDefaultHeaders`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PromptClient

    public PromptClient()
    Instantiates this a client to invoke operations on the Prompt Registry service.
    Since:
      1.6.0

  - ### PromptClient

    public PromptClient(@Nonnull AiCoreService aiCoreService)
    Instantiates this a client to invoke operations on the Prompt Registry service.
    Parameters:
      `aiCoreService` - The configured connectivity instance to AI Core
    Since:
      1.6.0