AI Help

How do I choose between file search and sending the whole PDF to an AI model?

Choose based on the task's evidence needs, document size and visual content. Compare both paths on representative questions before production use.

Steps to follow

  1. Identify whether the question needs a local passage, a whole-document comparison, or charts and page layout.
  2. Check model and endpoint support, input limits, indexing needs and measured cost for the candidate approaches.
  3. Test answer coverage and citations with known examples. Retrieval quality and visual PDF support are separate considerations.

Example in practice

Illustrative example. A chart interpretation may need a visual PDF input, while repeated policy lookups can benefit from indexed passages.

Related AI help

Official guidance

OpenAI documentation