Reference
QueryResultDocumentInfo
@moss-js/moss / QueryResultDocumentInfo
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Property | Type | Description | Inherited from |
|---|---|---|---|
id | string | Unique identifier within an index. | DocumentInfo.id |
text | string | REQUIRED canonical text to embed/search. | DocumentInfo.text |
metadata? | Record<string, string> | Optional metadata associated with the document. | DocumentInfo.metadata |
embedding? | number[] | Optional caller-provided embedding vector. | DocumentInfo.embedding |
score | number | Similarity score (0-1, higher = more similar). | - |
indexName? | string | Source index name. Set on queryMultiIndex() results; absent for single-index queries. | - |