Class PromptsClient
java.lang.Object
com.ants.platform.client.resources.prompts.PromptsClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreatePromptRequest request) Create a new version for the prompt with the givennamecreate(CreatePromptRequest request, RequestOptions requestOptions) Create a new version for the prompt with the givennameGet a promptget(String promptName, GetPromptRequest request) Get a promptget(String promptName, GetPromptRequest request, RequestOptions requestOptions) Get a promptlist()Get a list of prompt names with versions and labelslist(ListPromptsMetaRequest request) Get a list of prompt names with versions and labelslist(ListPromptsMetaRequest request, RequestOptions requestOptions) Get a list of prompt names with versions and labels
-
Field Details
-
clientOptions
-
-
Constructor Details
-
PromptsClient
-
-
Method Details
-
get
-
get
Get a prompt -
get
Get a prompt -
list
Get a list of prompt names with versions and labels -
list
Get a list of prompt names with versions and labels -
list
Get a list of prompt names with versions and labels -
create
Create a new version for the prompt with the givenname -
create
Create a new version for the prompt with the givenname
-