Afficher les détails fournis par le serveur
Description du serveur (copiée ; langue non vérifiée)
Schéma d’entrée (aperçu tronqué — ne pas copier)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"extraction",
"units"
],
"properties": {
"state": {
"type": "object",
"required": [
"absorbed_window_fps",
"archive",
"bible",
"canon_tail",
"project_token",
"schema_version"
],
"properties": {
"bible": {
"type": "array",
"items": {
"type": "object",
"required": [
"entry_id",
"kind",
"sources",
"text"
],
"properties": {
"kind": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"text": {
"type": "string",
"minLength": 1
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"quote",
"unit_id",
"window_fp"
],
"properties": {
"quote": {
"type": "string",
"minLength": 1
},
"unit_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"window_fp": {
"type": "string",
"pattern": "^sw-v1:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"entry_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 2000
},
"archive": {
"type": "array",
"items": {
"type": "object",
"required": [
"entry",
"reason"
],
"properties": {
"entry": {
"type": "object",
"required": [
"entry_id",
"kind",
"sources",
"text"
],
"properties": {
"kind": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"text": {
"type": "string",
"minLength": 1
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"quote",
"unit_id",
"window_fp"
],
"properties": {
"quote": {
"type": "string",
"minLength": 1
},
"unit_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"window_fp": {
"type": "string",
"pattern": "^sw-v1:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"entry_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
},
"additionalProperties": false
},
"reason": {
"enum": [
"superseded",
"archived"
],
"type": "string"
},
"source": {
"type": "object",
"required": [
"quote",
"unit_id",
"window_fp"
],
"properties": {
"quote": {
"type": "string",
"minLength": 1
},
"unit_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"window_fp": {
"type": "string",
"pattern": "^sw-v1:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"replacement_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 4000
},
"canon_tail": {
"type": "string",
"maxLength": 16000
},
"project_token": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"schema_version": {
"type": "string",
"const": "v1"
},
"absorbed_window_fps": {
"type": "array",
"items": {
"type": "string",
"pattern": "^sw-v1:[a-f0-9]{64}$"
},
"maxItems": 1024
}
},
"additionalProperties": false
},
"units": {
"type": "array",
"items": {
"type": "object",
"required": [
"end",
"role",
"start",
"text",
"turn_id",
"unit_id"
],
"properties": {
"end": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"role": {
"enum": [
"user",
"assistant"
],
"type": "string"
},
"text": {
"type": "string"
},
"start": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"turn_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"unit_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 4000,
"minItems": 1
},
"extraction": {
"type": "object",
"required": [
"base_state_hash",
"bible_ops",
"canon_segments",
"story_merge",
"window_fp"
],
"properties": {
"bible_ops": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"entry",
"op"
],
"properties": {
"op": {
"type": "string",
"const": "upsert"
},
"entry": {
"type": "object",
"required": [
"entry_id",
"kind",
"sources",
"text"
],
"properties": {
"kind": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"text": {
"type": "string",
"minLength": 1
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"quote",
"unit_id",
"window_fp"
],
"properties": {
"quote": {
"type": "string",
"minLength": 1
},
"unit_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"window_fp": {
"type": "string",
"pattern": "^sw-v1:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"entry_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"entry",
"op",
"target_id"
],
"properties": {
"op": {
"type": "string",
"const": "supersede"
},
"entry": {
"type": "object",
"required": [
"entry_id",
"kind",
"sources",
"text"
],
"properties": {
"kind": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"text": {
"type": "string",
"minLength": 1
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"quote",
"unit_id",
"window_fp"
],
"properties": {
"quote": {
"type": "string",
"minLength": 1
},
"unit_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"window_fp": {
"type": "string",
"pattern": "^sw-v1:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"entry_id": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
},
"additionalProperties": false
… [server-provided details truncated]