Skip to content

Commit

Permalink
add embedding object,seriesItem.referenceId and objectResult.referenc…
Browse files Browse the repository at this point in the history
…eId to vtn-standard schema
  • Loading branch information
ndthang15 committed Jun 21, 2024
1 parent b3e7a99 commit 85d3d84
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/veritone-json-schemas/schemas/vtn-standard/master.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@
"entityIdentifierId": {
"description": "The unique ID of recognized entity identifier (for example, a specific image).",
"type": "string"
},
"referenceId": {
"description": "Unique identifier of the vector",
"type": "string"
}
},
"required": ["type"],
Expand Down Expand Up @@ -523,6 +527,10 @@
"entityId": {
"description": "GUID of the entity in the library that was used to identify this object",
"$ref": "#/definitions/guid"
},
"referenceId": {
"description": "Unique identifier of the vector",
"type": "string"
}
},
"required": ["startTimeMs", "stopTimeMs"],
Expand Down Expand Up @@ -767,6 +775,30 @@
"vendor": {
"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"
},
"embedding": {
"description": "The embedding engine result was generated",
"type": "array",
"items": {
"type": "object",
"properties": {
"referenceId": {
"description": "Unique identifier of the vector",
"type": "string"
},
"vector": {
"description": "An array of vectors related to the vectorized data",
"type": "array",
"items": {
"type": "number"
}
},
"tags": {
"$ref": "#/definitions/tags"
}
},
"required": ["referenceId"]
}
}
}
}

0 comments on commit 85d3d84

Please sign in to comment.