Authorizations
API Key created in the Autoblocks Webapp
Path Parameters
Body
application/json
The id for the prompt. Should be human readable and unique.
Minimum length:
1
Example:
"soap-note-generator"
The templates for the prompt. At least one template is required. Variables can be wrapped in braces.
Minimum length:
1
Example:
[
{
"id": "template-1",
"template": "Hi {{name}}"
}
]
The optional parameters for the prompt.
Example:
{
"temperature": 0.5,
"topP": 0.5,
"topK": 10,
"frequencyPenalty": 0.5,
"presencePenalty": 0.5,
"maxTokens": 100,
"responseFormat": { "type": "json_object" },
"stopSequences": ["<|endoftext|>"],
"model": "gpt-4o"
}