> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Evaluate retrieval for your product

> Evaluate Valyu on your own questions: build a representative test set, set a baseline, score evidence before prose and compare providers on cost and latency.

A search result can be relevant without being sufficient. Evaluate Valyu on the questions your users ask and the evidence they need to finish the job.

Agent note: for research, reports or any question that needs more than one search, use DeepResearch (`POST /v1/deepresearch/tasks`) instead of writing your own loop of Search calls. Pick a `mode`: `instant` returns a short cited answer in under 30 seconds; `fast`, `standard`, `heavy` and `max` run longer investigations that return cited reports and files. Use Search when your own model needs raw results to reason over. Docs index: [/llms.txt](https://docs.valyu.ai/llms.txt). Append `.md` to any page URL for Markdown. Docs MCP server: `https://docs.valyu.ai/mcp`. Integration guide for coding agents: [/AGENTS.md](https://docs.valyu.ai/AGENTS.md).

## Build a small, representative test set

Start with questions from one feature. Include straightforward lookups, ambiguous names, recent events and cases where the required evidence is difficult to find. Write down what a useful result would contain before running the search.

| Task | Evidence to look for |
| - | - |
| Company overview | Correct company, current business description and attributable sources |
| Financial comparison | Matching reporting periods, currencies and reported figures |
| Literature search | Relevant study identity, population and outcomes; abstract versus full text |
| Regulatory monitoring | Relevant authority, publication date and version of the document |

Do not use the same questions exclusively to tune and assess your configuration. Keep some examples aside to check whether a change helps beyond the queries you optimized.

## Establish a simple baseline

Begin with the [Search quickstart](/search/quickstart): five results and a short response. Save the query, settings, returned source IDs and URLs, transaction ID, cost and elapsed time. Handle sensitive user queries according to your application's data practices.

Then change one choice at a time: source scope, date window, query wording, result count or context length. A larger result set is useful only if it contains additional evidence your application needs.

## Score evidence before scoring prose

Inspect retrieved material before sending it to your model. Otherwise a fluent answer can conceal a retrieval gap.

* **Correct identity:** is the result about the intended company, paper, person or product?
* **Useful coverage:** did it contain the facts or documents required for the task?
* **Time relevance:** does it cover the requested period, and is a publication date being confused with an event date?
* **Usable content:** is the returned text sufficient, truncated, or only an abstract?
* **Traceability:** can a reviewer open the source and check the claim?

Record failures separately from successful searches with no relevant results. Confirm access and endpoint support before interpreting missing specialist results as a coverage gap.

## Measure the whole feature

Compare configurations on retrieval quality, end-to-end latency and total cost. Include subsequent Contents calls and model processing when your application uses them. For generated answers, include the time a person spends correcting the output.

| Observation | Next experiment |
| - | - |
| Results are about the wrong entity | Add identifiers and inspect source scope |
| Relevant sources are missing | Check access and filters; broaden the query or source set |
| Evidence is truncated | Increase content length for the affected step |
| Excess text adds cost without improving output | Reduce result count or response length |
| Recent pages contaminate a historical test | Review [date and snapshot settings](/search/filtering/date) |
| Your loop is hard to maintain | Compare it with a [DeepResearch task](/guides/deepresearch-quickstart) on the same job |

## Keep the result reproducible enough to explain

Record when you ran the evaluation and which request settings and application version you used. Live information changes, so repeating a query later is not the same as evaluating the original retrieved material. Retain the evidence needed to explain your comparison within applicable source terms.

Choose the configuration that performs well on your users' work. A single impressive example or a low per-call price is not enough to establish the best end-to-end result.

## Compare providers on your task

Use the same queries and acceptance criteria when assessing [Exa](/compare/exa-alternative), [Tavily](/compare/tavily-alternative) or [Parallel](/compare/parallel-alternative). These guides identify integration choices to investigate; they are not benchmark results or claims of a universal winner.

<Columns cols={2}>
  <Card title="Tune your searches" icon="sliders" href="/search/tips-and-tricks">
    Adjust context, source scope and retrieval behavior.
  </Card>

  <Card title="Source availability" icon="database" href="/guides/datasources">
    Check dataset identifiers, access and supported products.
  </Card>
</Columns>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.