LlamaIndex RAG after work: index one folder of markdown and cite retrieved chunks. Educational only. Not investment advice.
You searched for llama index RAG tutorial. After a full day of work, you do not need a 400-page manual—you need a why-first path that fits one evening: understand the angle (build a tiny RAG over local markdown—not a black-box alpha bot), run a tiny example, and know what not to claim.
This hub article is educational only. Not investment advice. It will not pick stocks, size positions, or promise edge.
Tool focus: llamaindex.
from pathlib import Path
root = Path("/tmp/rag_notes")
root.mkdir(exist_ok=True)
(root / "cpi.md").write_text("Core CPI cooled. Shelter still sticky.\n", encoding="utf-8")
files = list(root.glob("*.md"))
print("indexed files:", [f.name for f in files])
# LlamaIndex: SimpleDirectoryReader(root).load_data() → VectorStoreIndex
Run it in a throwaway venv. If an import is missing, install only what you need for tonight—do not boil the ocean.
You can explain build a tiny RAG over local markdown—not a black-box alpha bot in two sentences, show one chart or printout, and list one risk. That is enough progress for an after-work session.
Tomorrow, connect this tool to the adjacent skill (data hygiene, validation, or a simple dashboard)—still educational, still not investment advice.
Educational only. Not investment advice.
pip show) so you can reproduce tomorrow.scratch/ folder; do not mix experiments with production paths.