-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Considering json schema option. testing this with real prompts before I decide to commit it.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Gato Prompt Language (GPL) Output Schema",
"type": "object",
"properties": {
"OUTPUT_HUMAN": {
"type": "string",
"description": "This is the response generated for human consumption, typically natural language."
},
"OUTPUT_SYSTEM": {
"type": "string",
"description": "This is the response intended for non-human systems, formatted or structured in a way that a system can process (e.g., code or instructions)."
},
"EXPORTED_SHARED_DATA": {
"type": "object",
"description": "This contains any shared data or metadata extracted from the input for further use by external systems.",
"properties": {
"dataType": {
"type": "string",
"description": "The type of data being shared (e.g., 'metadata', 'results', 'summary')."
},
"dataContent": {
"type": "string",
"description": "The actual data that is exported or shared, typically in a structured format."
}
},
"required": ["dataType", "dataContent"]
}
},
"required": ["OUTPUT_HUMAN", "OUTPUT_SYSTEM", "EXPORTED_SHARED_DATA"],
"additionalProperties": false
}
Metadata
Metadata
Assignees
Labels
No labels