Documentation
Namespaces
Datastore
interfaces
ScoredDoc

Interface: ScoredDoc<Meta>

Document with a query score (vector distance/similarity).

Extends

Type parameters

ParameterDefault
Meta extends BaseMetaBaseMeta

Properties

PropertyTypeDescriptionInheritanceSource
embedding?number[]-Doc.embeddingsrc/datastore/types.ts:22 (opens in a new tab)
idstring-Doc.idsrc/datastore/types.ts:20 (opens in a new tab)
metadataMeta-Doc.metadatasrc/datastore/types.ts:21 (opens in a new tab)
scorenumber-Doc.scoresrc/datastore/types.ts:151 (opens in a new tab)
sparseVector?Vector-Doc.sparseVectorsrc/datastore/types.ts:23 (opens in a new tab)