A unique identifier for the document.
The vector embedding of the document's content.
Optional metadataA flexible key-value store for document metadata. Values can be scalars or arrays of scalars. Used for filtering and providing context.
Optional textOptional: The raw text content of the document. Some use cases might store this alongside the embedding, while others might fetch it from a primary store using the ID.
Represents a document to be stored or retrieved from a vector store.
VectorDocument