AntflyAntfly
Back to Learn
Learn

Build

Index a corpus of your own, tune one hybrid query, and put search and answers on a page.

Steps
3
Time
about four hours

Build is the path for the first thing you ship on Antfly. You leave with a search page over your own data, and with a working sense of what each part of a hybrid query does, which is what you tune for every client after this one.

Each step is a guide from the docs, in the order the work happens. Read the page, then do the checkpoint before moving on. The checkpoints are the exercises the workshop runs live.

  1. 01

    Quickstart

    45–90 min

    Everything after this assumes a running instance and a table you loaded yourself. The quickstart leaves you with both, and with the embedding model pulled.

    This page answers

    Install Antfly, load data, and run your first queries

    Checkpoint
  2. 02

    Tune Hybrid Search

    One query that fuses exact words and meaning is the unit of work for every path that follows. Learn what each setting changes before you tune it for a client.

    This page answers
    • How do I combine full-text and semantic search in Antfly?
    • What merge strategies are available for hybrid search?
    • How do I weight keyword matches against semantic matches?
    • How do I use reranking to improve search relevance?
    • How do I prune low-quality results from search results?
    Checkpoint
  3. 03

    Add Search and AI Answers to Your Site

    The corpus and the query become something a person can use: a results page with facets, and an answer box that shows the sources it answered from.

    This page answers
    • How do I add search to my React app with Antfly?
    • How do I build a faceted search page with @antfly/components?
    • How do I add an AI answer box to my site?
    • Why doesn't my answer box fire when I type?
    • How do I show sources and collect feedback on generated answers?
    Checkpoint
Capstone

The Build capstone

[PLACEHOLDER: the Build capstone brief. It states the task, the constraints, and the pass criteria, and says that hidden queries are part of grading and that LLM and agent use is allowed. Replace before the PR merges.]