Skip to content
Back to feed

November 17, 2026 · Cloudflare

AI Search can generate file summaries during indexing

AI Search can now summarize your files while it indexes them. For each text document that produces at least three chunks, AI Search uses a large language model (LLM) to generate a summary, topics, and keywords:

  • The summary and keywords are stored in the item's context metadata. A context value you already set is kept.
  • The topics are added to the context header of the file's chunks to help retrieval.

Turn on file summaries in the dashboard, or set indexing_options.file_summary to true when you create or update an instance. File summaries are off by default, and changing the setting triggers a full reindex.

indexing_options is replaced as a whole on every update. Include the current value of every option, or the options you leave out return to their defaults.

The LLM costs are billed to your account. File summaries are not part of the AI Search ingestion allotment. AI Search uses a Workers AI model suited to summarization and calls it through your instance's AI Gateway, or the default gateway if none is set, and the calls are billed as Workers AI usage. Each new or modified file is summarized once, so costs grow with the amount of content you index.

For more information, refer to File summaries.

All AI Search changes