Creates a Prompt for an Application.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The ID of the Application. |
pa-************** |
| PromptName |
string |
Yes |
The name of the Prompt. |
my_prompt |
| PromptType |
string |
Yes |
The type of the Prompt. |
CONVERSATION_SUMMERY SEMANTIC_MEMORY MEMORY_ANSWER_PROMPT USER_MEMORY_EXTRACTION_PROMPT AGENT_MEMORY_EXTRACTION_PROMPT PROCEDURAL_MEMORY_SYSTEM_PROMPT RETRIEVE_NODES_PROMPT EXTRACT_RELATIONS_PROMPT UPDATE_GRAPH_PROMPT DELETE_RELATIONS_SYSTEM_PROMPT |
| PromptValue |
string |
Yes |
The content of the Prompt. |
prompt content |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The ID of the request. |
6BD9CDE4-5E7B-4BF3-9BB8-83C73E****** |
| PromptId |
string |
The ID of the Prompt. |
papt-f9lajgw765f4fnrzn1 |
Examples
Success response
JSON format
{
"RequestId": "6BD9CDE4-5E7B-4BF3-9BB8-83C73E******",
"PromptId": "papt-f9lajgw765f4fnrzn1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.