UpdatePromptTemplate
Region:
China (Beijing)
Request Parameters
Required
workspaceIdThe workspace ID
promptTemplateIdThe template ID
nameThe template name
contentThe template content
Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Request Syntax

PATCH /{workspaceId}/promptTemplates/{promptTemplateId} HTTP/1.1

Path Parameters

Field NameField Details
workspaceIdstring

The workspace ID.

Example:llm-us9hjmt32nysdxxx
promptTemplateIdstring

The template ID.

Example:6e49109bfeb94a39bb268f4e483ccxxxReference Value Source:
    ListPromptTemplates
    CreatePromptTemplate

Request Parameters

Field NameField Details
namestring

The template name.

contentstring

The template content.

Response Parameters

Field NameField Details
requestIdstring

The request ID.

Example:FE9B6CBF-47E6-5D76-9C5D-B814DD5ABxxx
Change History
No Change History found.