Docs/AI Answers

AI Answers

Add AI summaries to your results page and keep answers grounded in crawled website content.

Enable AI Summary

AI Summary is rendered by the Results Page Script. Add data-summary="true" toresults.js and include a summary container in your results page HTML.

<script
  src="https://www.flowsearch.io/results.js"
  data-key="YOUR_SEARCH_KEY"
  data-summary="true">
</script>
<div data-fs-summary class="ai-summary">
  <div data-fs-summary-text></div>
</div>

<div data-fs-results>
  <a data-fs-result data-fs-url href="#">
    <h3 data-fs-title></h3>
    <p data-fs-snippet></p>
  </a>
</div>

How answers are generated

  1. FlowSearch searches indexed website pages for the visitor query.
  2. Relevant page content is selected as answer context.
  3. AI Summary generates a concise answer using that context.
  4. Source labels show which pages, documents, or General AI knowledge contributed context.

Follow-up chat and External Knowledge

Initial summaries are available on all plans when AI credits remain. Follow-up conversations and External Knowledge require paid plans. External Knowledge may add brief general context when it directly helps answer the question, and the UI labels that source separately.

Uploaded document knowledge

Business and Enterprise plans can upload PDF, Markdown, and text files. FlowSearch extracts document text, splits it into chunks, embeds those chunks for semantic matching, and retrieves relevant passages for AI answers. Basic and Pro plans do not use uploaded document knowledge.

Best practices for reliable answers

  • Write direct answers on public pages before expecting AI to summarize them.
  • Keep pricing, limits, API behavior, and policy details explicit and current.
  • Use headings that match common visitor questions.
  • Review AI helpfulness feedback and zero-result searches together.
  • Recrawl after changing pages that AI answers should reference.

Next steps