TECHNOLOGY

You.com highlights and full text serve different evidence budgets

In this article
THE QUICK TAKE

Choose an extraction mode before designing the evidence adapter; a highlight is a selected passage, not the complete parent page.

Begin with the reading task

A support assistant locating the paragraph about account deletion needs a different input from an indexer archiving the entire policy. Treat those as separate retrieval jobs. Query-focused passages can help the assistant answer quickly, while ingestion needs enough surrounding structure to preserve definitions, exceptions, and section relationships.

Parse the selected mode

You.com documents mutually exclusive highlights and full_page extraction modes. Highlights populate contents.highlights; full-page extraction populates requested Markdown or HTML fields. Build the adapter around that selected shape instead of assuming every result contains a universal text property. See page content extraction.

Budget across results

The extraction.highlights.total_max_tokens setting covers highlights across the response. It does not reserve that amount for each result. A change in result count therefore changes how much passage context may be available per candidate. Keep both controls in the experiment record and count the final assembled model input separately.

Suppose a policy exception lives below the matching paragraph. A smaller highlight budget might retain the general rule while dropping the exception. Mark the answer incomplete until a targeted page read resolves that dependency; increasing answer length cannot restore text the model never received.

Keep passage ownership

Store each highlight with its parent URL and result metadata. The Search reference shows that nesting explicitly. Several excerpts from the same page should remain associated with that page, rather than becoming apparently independent endorsements. This also lets the interface expand context around a selected citation later.

Escalate to the known page

Once the relevant URL is known, the Contents API provides the direct extraction path. Use it when the answer requires a full definition, adjacent table, or excluded category. Check the returned content before replacing the shorter evidence record; a failed extraction should leave a visible unresolved dependency.

The local guides to structural chunk boundaries and clean webpage text explain the next processing stage. Evaluate the complete path using questions whose answers deliberately cross a paragraph boundary, so the test measures whether the chosen mode preserves necessary context.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles