Interface: QueryResultDocumentInfo
Document result from a query with similarity score.Extends
DocumentInfo
Properties
| Property | Type | Required | Description | Inherited from |
|---|---|---|---|---|
id | string | Yes | Unique identifier within an index. | DocumentInfo.id |
text | string | Yes | REQUIRED canonical text to embed/search. | DocumentInfo.text |
metadata | Record<string, string> | No | Optional metadata associated with the document. | DocumentInfo.metadata |
score | number | Yes | Similarity score (0-1, higher = more similar). | - |