Ask a question and get a grounded answer
one move: retrieve before generate
Open the code pane immediately, then use the Spec tab, optional design question, tests, and artifact when you want them.
Finish each move before carrying the artifact forward.
Retrieval-augmented generation selects evidence first, then asks the model to answer from it.
Deliverable: Write the mechanism in one sentence.Embed documents, search top-k context, assemble a grounded prompt, and generate.
Deliverable: Type the smallest runnable implementation.Each answer must include retrieved IDs and refuse when context is absent.
Deliverable: Record the expected output and one edge case.Change chunk size, k, and prompt wording; classify unsupported answers.
Deliverable: Change one variable and explain the result.A RAG trace containing query, evidence, answer, and groundedness checks.
Deliverable: Save the code, output, and a short failure note.Each answer must include retrieved IDs and refuse when context is absent.
Change chunk size, k, and prompt wording; classify unsupported answers.
A RAG trace containing query, evidence, answer, and groundedness checks.
Mapped from the supplied Build Everything PDF, source page 52. The five moves are Deriva’s implementation contract for this project.