========== YENİ KOMUT | 23.09.2026 02:18:20 ==========
### SystemOneRequest
{
"properties": {
"state": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"type": "object"
},
{
"items": {},
"type": "array"
}
],
"title": "State",
"description": "The content all questions in this request refer to.",
"examples": [
"I was charged twice. Please help.",
{
"message": "Please help.",
"subject": "Duplicate charge"
}
]
},
"model": {
"type": "string",
"title": "Model",
"description": "Name or alias of the model to use. Available names are returned by GET /v1/models.",
"examples": [
"jev-latest"
]
},
"questions": {
"additionalProperties": {
"$ref": "#/components/schemas/Question"
},
"type": "object",
"minProperties": 1,
"title": "Questions",
"description": "Questions to ask about the content, each with a name you choose. The response uses those names to identify the answers.",
"examples": [
{
"billing": {
"instructions": "Is this message about billing?",
"type": "noul"
}
}
]
}
},
"type": "object",
"required": [
"model",
"questions",
"state"
],
"title": "SystemOneRequest",
"description": "Content and named questions to evaluate together using a TypeSafe model."
}
### ChoiceQuestion
{
"properties": {
"type": {
"type": "string",
"const": "choice",
"title": "Type",
"description": "Identifies a question that selects one of the choices in criteria.",
"examples": [
"choice"
]
},
"instructions": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"title": "Instructions",
"description": "What the model should decide when choosing an option.",
"examples": [
"What is the tone of this message?"
]
},
"criteria": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "null"
}
]
},
"type": "object",
"title": "Criteria",
"description": "Choice names and descriptions of when each applies. A choice without a description is interpreted by its name alone.",
"examples": [
{
"angry": "An upset or hostile message",
"calm": "A neutral or polite message",
"excited": "An enthusiastic or eager message"
}
]
}
},
"type": "object",
"required": [
"criteria",
"type"
],
"title": "ChoiceQuestion",
"description": "A question that selects one option from the choices you define."
}
### ChoiceAnswer
{
"properties": {
"type": {
"type": "string",
"const": "choice",
"title": "Type",
"description": "Identifies a selection from the requested choices.",
"examples": [
"choice"
]
},
"choice": {
"type": "string",
"title": "Choice",
"description": "The name of the choice with the highest probability among the question's criteria.",
"examples": [
"angry"
]
},
"confidence": {
"type": "number",
"title": "Confidence",
"description": "Confidence in the selected choice, from 0 to 1. Higher values indicate greater certainty; use lower values to flag uncertain selections for review.",
"examples": [
0.9
]
},
"probabilities": {
"additionalProperties": {
"type": "number"
},
"type": "object",
"title": "Probabilities",
"description": "Probability of each choice in criteria, keyed by choice name, from 0 to 1. Shows how likely the alternatives are; values sum to approximately 1.",
"examples": [
{
"angry": 0.8,
"calm": 0.1,
"excited": 0.1
}
]
}
},
"type": "object",
"required": [
"choice",
"confidence",
"probabilities",
"type"
],
"title": "ChoiceAnswer",
"description": "The selected choice, confidence, and probabilities for a choice question."
}
### SystemOneResponse
{
"properties": {
"model": {
"type": "string",
"title": "Model",
"description": "Name of the model that answered the questions. May differ from the alias supplied in the request.",
"examples": [
"jev-latest"
]
},
"answers": {
"additionalProperties": {
"$ref": "#/components/schemas/Answer"
},
"type": "object",
"minProperties": 1,
"title": "Answers",
"description": "Answers keyed by the question names supplied in the request. Each answer's type matches its question's type.",
"examples": [
{
"billing": {
"noul": 0.98,
"type": "noul"
}
}
]
},
"usage": {
"$ref": "#/components/schemas/Usage",
"description": "Input and output token counts for this evaluation.",
"examples": [
{
"input_tokens": 120,
"output_tokens": 12
}
]
}
},
"type": "object",
"required": [
"model",
"answers",
"usage"
],
"title": "SystemOneResponse",
"description": "Answers grouped by question name, with the model used and token usage."
}
root@213-238-170-219:/home/hermes#