VectorQueryResult
Result of a vector similarity query.
Properties
Section titled “Properties”document?
Section titled “document?”optional document?: string;Original text content, if stored and requested.
id: string;The vector entry’s unique identifier.
metadata?
Section titled “metadata?”optional metadata?: Record<string, unknown>;Metadata associated with the vector entry.
score: number;Similarity score. Higher values indicate greater similarity.
vector?
Section titled “vector?”optional vector?: readonly number[];The raw vector, if includeVectors was true.