Document

Document(*args, **kwargs)

A Document is a record in the vector database.
id: ItemID | the unique identifier of the document.
content: str | the text content of the chunk.
metadata: Metadata, Optional | contains additional information about the document such as source, date, etc.
embedding: Vector, Optional | the vector representation of the content.

Parameters:
NameDescription
*args
**kwargs

Class Attributes

content



embedding



id



metadata