Rachis

Blog

Start here

Read these in order. Each part builds on the one before.

  1. Part 1 of 7Can you send the whole document?

    Building an app that answers questions from documents? Learn when to send the whole file, what counts toward the input limit, and when to select passages.

  2. Part 2 of 7What changes when the documents no longer fit?

    When documents no longer fit in one request, your app must choose passages. Check which passages each request contains and whether they are current.

  3. Part 3 of 7How should you divide documents into passages?

    Learn how to divide documents into passages, choose size and overlap, preserve tables and source details, and test the results against your questions.

  4. Part 4 of 7Which matching passages should reach the model?

    Learn how search scores, top-k and reranking decide which passages go into the model's request, and how to check that the passage a question needs got in.

  5. Part 5 of 7How should an answer cite your documents?

    Learn what citation features return, the two ways a citation fails, and a first setup that checks each cited passage against its statement.

  6. Part 6 of 7When should an answer say "I don't know"?

    Learn when an answer should say "I don't know", how to tell missing evidence from a passage that never arrived, and a first check.

  7. Part 7 of 7How do you test the answers your application gives?

    Compare your document app's answers before and after a change. Save requests, check evidence and citations, and compare automatic scores with human review.

Problem-solving guides

Ingestion

Retrieval

Agent runs

Go deeper

Preparing documents

Search and retrieval

Agents and graphs