SearchResult
Individual search result item.
Individual search result item.
| Property | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | The ID of the file. |
filename | string | Yes | The name of the file |
score | number | Yes | Relevance score of the result; results are sorted by it, highest first. With the reranker on, it is the reranker's relevance score (not normalized, its scale depends on the reranker model); otherwise the vector database's score (cosine similarity, or RRF for hybrid search) |
attributes | Attributes | No | File attributes as key-value pairs Default: {}. |
content | Chunk[] | Yes | Content chunks from the file |
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.