Manage prompt versions and track changes over time
temperature
, maxTokens
, responseFormat
, inputs
, outputs
, demonstrations
, and promptingTechnique
can also be set. See the Data Model page for complete field documentation.prompt
(system message)
and messages
array with a system role in the same operation. Choose one
approach to avoid errors.prompt
and messages
array with a system role in the same operation.prompt
field and a messages
array
containing a system role in the same operation. This will throw an error.prompt
field only - Sets the system message directlymessages
array only - Define the full conversation structureprompt
for system message and messages
for user/assistant messages (but no system role in messages)responseFormat: { type: "json_schema" }
to get consistent, parseable responsesresponseFormat: { type: "text" }
for free-form responsesdemonstrations
field to provide example input/output pairs to improve response qualitystr
, float
, bool
, list[str]
, etc.)maxTokens
to control response length and costs