Scale Intelligence■ Docs
Docs / The model / Vector

Vector.

A vector from a model that carries meaning, named by its model; never a hash

Figure 1Vectorspecified
VECTORfact at follows scopetext_hashhasha model whose row is readymodelModeltierenum:narrow|widewidthcountthe vector's numbers at the model's width; the gold column keeps them at one byte a number for the narrow tier and at full precision for the wide, and the wire always carries the numbersnumbers[number]the centroid of the coarse index (SR-0440)centroidcountoptionalthe one-bit sketch for the first pass, as 64-bit words; its width is the parameter of specification 4 section 2.5sketch[count]optionalfor a vector of an image, a frame or a sound, in place of the text's hashmedia_hashhashoptionalthe unit whose text was given meaning, when the text is one unit's: an entity, a content item, an observationunitidoptionalMODELthrough model
Vector is a fact at follows scope. The drawing shows its fields and the objects that they point at.
kind
fact
scope
follows
key
the hash of the text, the model and the tier
store
postgres+lake
family
record

Fields#

fieldtyperequirednote
text_hashhashyes
modelModelyesa model whose row is ready
tierone of narrow | wideyes
widthcountyes
numbers[number]yesthe vector’s numbers at the model’s width; the gold column keeps them at one byte a number for the narrow tier and at full precision for the wide, and the wire always carries the numbers
centroidcountnothe centroid of the coarse index
sketch[count]nothe one-bit sketch for the first pass, as 64-bit words; its width is the parameter
media_hashhashnofor a vector of an image, a frame or a sound, in place of the text’s hash
unitidnothe unit whose text was given meaning, when the text is one unit’s: an entity, a content item, an observation

Routes that use it#

No route takes or returns Vector directly. The record holds it, and the objects that point at it reach it.