Snippet object
| Field | Type | Description |
|---|---|---|
text | string | Verbatim passage from the source page |
relevance_score | float | Relevance to your query, from 0.0 (low) to 1.0 (high) |
Relevance score
The relevance score reflects how closely a snippet answers your specific query — not just how related the topic is. A score of0.9+ means the passage directly addresses your query. A score below 0.6 means the passage is topically related but may not be a direct answer.
Practical guidance:
- For RAG pipelines: filter to snippets with
relevance_score >= 0.7 - For display: show all snippets — let users judge
- For strict fact retrieval: use
precisedepth + filter to>= 0.85
Snippet count
Control how many snippets are extracted per result withmax_snippets_per_result (default: 3, range: 1–5).
The warning field
Each result has an optional warning field. It’s set when extraction succeeded but with caveats — for example, if the page content was too short or if some passages couldn’t be reconstructed verbatim.
warning is set and snippets is empty, the result still appears in the list for transparency — you can decide whether to use the URL directly.