Class that extends the Document base class and adds an embedding property. It represents a document in the vector store.

Hierarchy

  • Document
    • TypeORMVectorStoreDocument

Constructors

Properties

embedding: string
id?: string

An optional identifier for the document.

Ideally this should be unique across the document collection and formatted as a UUID, but this will not be enforced.

metadata: Record<string, any>
pageContent: string