Search Best Practices - Exa
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
- Exaexa.ai
- Exa Highlights: Quality, Token-Efficient Searchexa.ai
- Our AI Research: How We Evaluate Semantic Search Technology | Exa Blogexa.ai
- Exa Search API - Exadocs.metaphor.systems
- Exa | Web Search API, AI Search Engine, & Website Crawlermetaphor.systems
- Use exa-code: Fast, efficient web context for coding agents | Exa Blogexa.ai
- WebCode: Search Evals for Coding Agentsexa.ai
- Perfect Web Search for AI Agents with Semantic Search Technology | Exa Blogexa.ai
- Building a web search engine from scratch in two months with 3 billion neural embeddingsblog.wilsonl.in
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4.github.com
- Cookbookcookbook.openai.com
- Prompting best practicesdocs.anthropic.com