Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Update README.md to have imports in sample code

Elijah ben Izzy662f187280e4
diff --git a/README.md b/README.md
index 9497d01d..57baf9d4 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,8 @@ You can (and should!) use it for anything in which you have to manage state, tra
The core API is simple -- the Burr hello-world looks like this (plug in your own LLM, or copy from [the docs](https://burr.dagworks.io/getting_started/simple-example/#build-a-simple-chatbot>) for _gpt-X_)
```python
+from burr.core import action, State, ApplicationBuilder
+
@action(reads=[], writes=["prompt", "chat_history"])
def human_input(state: State, prompt: str) -> State:
# your code -- write what you want here!