flâneur

Search Best Practices - Exa

exa.ai · 1,444 words · saved by 1 readers

This guide assumes you already have a working Search API request. It covers how to improve that request following Exa’s recommended best practices. Start with the smallest useful request The best baseline is a natural-language query with highlights: true. Exa sizes each result’s excerpts to its relevance, so there is no character budget to tune: This gives you ranked pages and token-efficient c

This guide assumes you already have a working Search API request. It covers how to improve that request following Exa’s recommended best practices. Start with the smallest useful request The best baseline is a natural-language query with highlights: true. Exa sizes each result’s excerpts to its relevance, so there is no character budget to tune: This gives you ranked pages and token-efficient context per page, relevant to the query. Add additional parameters only as needed: ParameterAdd it when typeAdjusting to meet a latency budget or depth requirement numResultsFewer pages for a…

related reading