From 42237e5cd071346210455a2ddae209184380eb7e Mon Sep 17 00:00:00 2001 From: Thang Nguyen Date: Tue, 25 Jun 2024 16:58:59 +0700 Subject: [PATCH] update AION schema with GLC prototype --- .../schemas/vtn-standard/aion/aion.json | 4 ++++ .../schemas/vtn-standard/master.json | 20 ++++++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/packages/veritone-json-schemas/schemas/vtn-standard/aion/aion.json b/packages/veritone-json-schemas/schemas/vtn-standard/aion/aion.json index 5b7a27e20..a4407f354 100644 --- a/packages/veritone-json-schemas/schemas/vtn-standard/aion/aion.json +++ b/packages/veritone-json-schemas/schemas/vtn-standard/aion/aion.json @@ -30,6 +30,10 @@ "media": { "description": "Links to external files generated during processing", "$ref": "../master.json#/definitions/medias" + }, + "embedding": { + "description": "The embedding engine result was generated", + "$ref": "../master.json#/definitions/embedding" } } } diff --git a/packages/veritone-json-schemas/schemas/vtn-standard/master.json b/packages/veritone-json-schemas/schemas/vtn-standard/master.json index 43369fcb0..0a3020691 100644 --- a/packages/veritone-json-schemas/schemas/vtn-standard/master.json +++ b/packages/veritone-json-schemas/schemas/vtn-standard/master.json @@ -41,6 +41,10 @@ }, "validationContracts": { "$ref": "#/definitions/validationContracts" + }, + "internalTaskId": { + "description": "ID of the internal task. A part of the GLC prototype", + "$ref": "#/definitions/guid" } } }, @@ -368,6 +372,9 @@ "referenceId": { "description": "Unique identifier of the vector", "type": "string" + }, + "fingerprintVector": { + "$ref": "#/definitions/fingerprintVector" } }, "required": ["type"], @@ -776,6 +783,10 @@ "description": "Custom data that doesn't conform to any other field. You can add any arbitrary data inside this object, but it will not be indexed, searchable, or have any impact on the system. However it will be returned when reading the data back out.", "type": "object" }, + "fingerprintVector": { + "description": "An array of vectors related to the vectorized data", + "type": "array" + }, "embedding": { "description": "The embedding engine result was generated", "type": "array", @@ -787,17 +798,12 @@ "type": "string" }, "vector": { - "description": "An array of vectors related to the vectorized data", - "type": "array", - "items": { - "type": "number" - } + "$ref": "#/definitions/fingerprintVector" }, "tags": { "$ref": "#/definitions/tags" } - }, - "required": ["referenceId"] + } } } }