Skip to main content

4 docs tagged with "recipe"

View all tags

Chatbot with Memory

A LangGraph agent that remembers a conversation across turns and processes, with a token budget so it doesn't grow unbounded — thread persistence and trimming applied together rather than explained again here.

RAG over PDFs

A citation-aware version of the RAG pipeline: load a folder of PDFs, chunk them while keeping page numbers, embed into Chroma, and answer with a reference back to the source page.

SQL Agent

An agent that answers questions over a database: it introspects the schema, writes a query, runs it, and reasons over the result — the tool-calling loop applied to SELECT statements.

Structured Extraction

Turn a pile of unstructured documents into validated records — structured output run in a batch loop, with a place to put the ones that don't validate.