Document
A document corresponding to a graph entity. Used to generate embeddings.
Properties
| Property | Description |
|---|---|
content | The document content. |
embedding | The embedding of the document. |
entity | The graph entity corresponding to the document. |
Property Details
content
The document content.
Returns
| Type | Description |
|---|---|
| str | Content of the document. |
embedding
The embedding of the document.
Returns
| Type | Description |
|---|---|
| Embedding, optional | The embedding of the document if it was computed. |
entity
The graph entity corresponding to the document.
Returns
| Type | Description |
|---|---|
| Any, optional |