PromptCreate
Payload used to create Prompt. Required fields are name, type.
nameName (string)필수
typeType (string)필수
Content/format discriminator
Possible values: [markdown, text, xml, graph]
contentContent (string)
기본값:
variables object[]
Array [
nameName (string)필수
description object
하나 이상(anyOf)
- string
- null
string
default object
하나 이상(anyOf)
- string
- null
string
requiredRequired (boolean)
기본값:
true]
alias object
하나 이상(anyOf)
- string
- null
string
collection_id object
Identifier of the containing collection.
- string
- null
string
Possible values: non-empty
folder_id object
하나 이상(anyOf)
- string
- null
string
tags object
하나 이상(anyOf)
- string[]
- null
Array [
string
]
description object
하나 이상(anyOf)
- string
- null
string
PromptCreate
{
"name": "string",
"type": "markdown",
"content": "",
"variables": [
{
"name": "string",
"description": "string",
"default": "string",
"required": true
}
],
"alias": "string",
"collection_id": "string",
"folder_id": "string",
"tags": [
"string"
],
"description": "string"
}