OptionalmetadataAny metadata associated with this record.
OptionalproviderProvider-specific routing and operational directives set by VectorDBBase.BuildProviderDirectives during ingestion. This field is MJ-internal and must be stripped before the record is sent to any external vector database — it is never persisted in the index.
Providers read keys they care about from this object in CreateRecord(s),
then discard it before the actual upsert call. Example: Pinecone reads
providerTemporaryDirectives.namespace to route each record to the correct namespace.
OptionalscoreThe similarity score of the record. The interpretation of this score will be different depending on the distance metric configured on the index.
For indexes using the euclidean distance metric, a lower similarity score is more
similar, while for indexes using the dotproduct metric, higher scores are more similar.
OptionalsparseRecords can optionally include sparse and dense values when an index is used for hybrid search.
An array of numbers representing an embedding vector.
The id of the record. This string can be any value and is useful when fetching or deleting by id.