Back to the knowledge base
ToolsBuild with AICurioFuse editorial

LlamaIndex: build RAG answers from your own documents

A framework for building retrieval-augmented generation workflows, with documented file loading, indexing, and document-query examples.

Visit official website
Jump to the practice exercise

Build document search

LlamaIndex connects an LLM application to documents. Its Python starter loads a folder with SimpleDirectoryReader, builds a VectorStoreIndex, and creates a query engine. It then exposes document search as an agent tool.

Keep the prototype inspectable

The directory reader supports file selection and custom metadata.

Choose a small folder whose contents you can inspect by hand. Try one question, open the retrieved text, and compare it with the response using our RAG checklist. We have not tested this tool here.

Try it: a CurioFuse exercise

An original editorial exercise with a checkable outcome.

Separate retrieval failure from answer failure

CurioFuse exercise: create two fictional notes. “Room Cedar holds eight people” is in one; “Room Pine holds twelve” is in the other. Ask which room holds twelve, then ask for Cedar's projector model, which neither note supplies. For each question inspect the retrieved text before the answer. Pine is the supported first answer; the projector model should remain unknown. If Pine's note was not retrieved, investigate retrieval before rewriting the final answer prompt. This small developer exercise helps locate the failure stage; it does not claim that a default LlamaIndex application automatically supplies correct citations or refuses unsupported answers.