Create
POST/content-generations
Create
Request
- application/json
Body
required
The account id bound to this content generation.
The deleted flag.
The GraphQL query which will be used to import entity data from the Knowledge Graph.
Possible values: <= 2000
Default value: 64
The maximum number of tokens.
Default value: 0
Minimum amount of words per completion.
Possible values: >= 1
Default value: 1
The model ID.
Possible values: <= 250 characters
The model name.
Possible values: >= 0.5 and <= 1.9
Default value: 0.5
The penalty score.
The prompt template.
Default value: ###
The stop sequence.
Possible values: >= 0.4 and <= 0.8
Default value: 0.4
The temperature score.
Words to ignore when checking for words not in prompt.
Responses
- 201
- 401
Created
- application/json
- Schema
- Example (from schema)
Schema
The Account id bound to this Content Generation.
The create date-time.
True if the project has been deleted.
The delete date-time.
The GraphQL query which will be used to import entity data from the Knowledge Graph.
The unique id.
Possible values: <= 2000
Default value: 64
The maximum number of tokens.
Minimum amount of words per completion
Possible values: >= 1
Default value: 1
The model ID.
The last modified date-time.
Possible values: <= 250 characters
The name.
Possible values: >= 0.5 and <= 1.9
Default value: 0.5
The penalty score.
The prompt template.
Default value: ###
The stop sequence.
Possible values: >= 0.4 and <= 0.8
Default value: 0.4
The temperature score.
Words to ignore when checking for words not in prompt.
{
"account_id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"deleted": false,
"deleted_at": "2024-07-29T15:51:28.071Z",
"graphql_query": "string",
"id": 0,
"max_tokens": 64,
"min_words": 0,
"model_id": 1,
"modified_at": "2024-07-29T15:51:28.071Z",
"name": "string",
"penalty": 0.5,
"prompt_template": "string",
"stop": "###",
"temperature": 0.4,
"words_to_ignore": [
"string"
]
}
Authentication Failure