Document

A document corresponding to a graph entity. Used to generate embeddings.

Properties

PropertyDescription
contentThe document content.
embeddingThe embedding of the document.
entityThe graph entity corresponding to the document.

Property Details

content

The document content.

Returns

TypeDescription
strContent of the document.

embedding

The embedding of the document.

Returns

TypeDescription
Embedding, optionalThe embedding of the document if it was computed.

entity

The graph entity corresponding to the document.

Returns

TypeDescription
Any, optional