Next Steps¶
You’ve written your own burr application in a few lines of code. Nice work! Let’s look at some less trivial examples.
All of the following are pre-populated in the UI under projects/
. You can start the UI by running:
burr
Telemetry UI chatbot demo demo_chatbot
¶
You’ll need the env variable OPENAI_API_KEY
set to your api key for this to work. If you don’t
have one, you’ll still be able to run it and explore, you just won’t be able to chat.
If you haven’t already:
pip install burr[start]
Then:
burr-demo
If you’ve run burr
and have it open on port 7241, just navigate to demos/chatbot.
Repository Examples¶
For the next examples you’ll need the repository cloned:
git clone https://github.com/dagworks-inc/burr && cd burr
Simple Counter demo_counter
¶
cd examples/hello-world-counter
python application.py
Interactive RAG demo_conversational-rag
¶
This is a toy interactive RAG example. You’ll ask questions in the terminal about information it already has…
cd examples/conversational-rag/simple_example
pip install -r requirements.txt
python application.py
Understanding Concepts¶
If you’re more comfortable learning through concepts start here.
Once you’re comfortable with the UI, you may want to get a sense of a few of the capabilities of the Burr library and where you can go to learn more about them:
Creating custom actions and calling out to integrated frameworks
Running applications, managing their lifeycyle, and inspecting the results
Managing state – persisting, inspecting, and updating
Handling transition between nodes and managing the flow of your application
Adding hooks to customize execution and integrate with other systems