Module document

Source

Structsยง

Document
The Document struct represents a document with content, metadata, and a score. The page_content field is a string that contains the content of the document. The metadata field is a HashMap where the keys represent metadata properties and the values represent property values. The score field represents a relevance score for the document and is a floating point number.