Scale Intelligence■ Docs
Docs / The model / ContentAffinity

ContentAffinity.

What an entity publishes, likes, stars, replies to and follows across every connector, as concept weights with their evidence over a window, kept and re-read on the beat

Figure 1ContentAffinityspecified
CONTENTAFFINITYfact at follows scopeentityidwindowWindowconcepts[ConceptWeight]the sources readsources[id]the units of the record behind itunitscountbasisBasisas_ofTwoDatesWINDOWthrough windowCONCEPTWEIGHTthrough conceptsBASISthrough basisTWODATESthrough as_of
ContentAffinity is a fact at follows scope. The drawing shows its fields and the objects that they point at.
kind
fact
scope
follows
key
the entity and the window
store
postgres+lake
family
models

Fields#

fieldtyperequirednote
entityidyes
windowWindowyes
conceptsConceptWeightyes
sources[id]yesthe sources read
unitscountyesthe units of the record behind it
basisBasisyes
as_ofTwoDatesyes

Routes that use it#

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