Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Burr RAG with LanceDB and dlt document ingestion
This example shows how to build a chatbot with RAG over Substack blogs (or any RSS feed) stored into LanceDB.

Burr UI brings a new level of observability to your RAG application via OpenTelemetry
Burr + LanceDB constitute a powerful, but lightweight combo to build retrieval-augmented generative (RAG) agents. Burr allows to define complex agents in an easy-to-understand and debug manner. It also provides all the right features to help you productionize agents including: monitoring, storing interactions, streaming, and a fully-featured open-source UI.
LanceDB makes it easy to swap embedding providers, and hides this concern from the Burr application layer. For this example, we'll be using OpenAI for embedding and response generation.
By leveraging the Burr integration with OpenTelemetry, we get full visibility into the OpenAI API requests/responses and the LanceDB operations for free.
To ingest data, we use dlt and its LanceDB integration, which makes it very simple to query, embed, and store blogs from the web into LanceDB tables.
Content
notebook.ipynbcontains a tutorialapplication.pyhas theburrcode for the chatbotingestion.pyhas thedltcode for document ingestionutils.pycontains functions utility functions to setupOpenTelemetryinstrumentation and environment variables