burr
burr copied to clipboard
Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Following #359, this PR introduces `Select` as an alternative to `Condition` when defining "one to many" transitions. Not only can this be more ergonomic for developers, it allows to resolve...
# Currently Below is a valid Burr graph definition to "get a user input, and select the most appropriate action out of 3" ```python graph = ( GraphBuilder() .with_actions( process_user_input,...
**Is your feature request related to a problem? Please describe.** See this discussion: https://github.com/DAGWorks-Inc/burr/discussions/358. The problem is this: 1. You have streaming results 2. You want to still run a...
Currently, `Application.step()` gives a bunch of squiggly red lines when trying to unpack the return value.  This is because `.step()` is annotated as follow, potentially returning `None`, which can't...
**Is your feature request related to a problem? Please describe.** It's a little unclear what's happening. This fails due to internal errors: ```python from typing import Optional from burr.core import...
**Is your feature request related to a problem? Please describe.** We're adding a limit on log files rendered per call (200ish). We want people to be able to populate it....
**Is your feature request related to a problem? Please describe.** Instead of creating a new application every time, what if we could reset some "state" and "application-y" things about it?...
## Issue I'm creating a burr graph out of a yaml config, with potential recursive map_action inside. It might become a bit complex and I would like to visualize the...
This PR adds a way to instantiate the async postgres persister with a connection pool. The goal is to prevent a bug in parallelism: when the user implements async versions...
This was added erroneously ---- > [!IMPORTANT] > Remove erroneous validation call from `astream_iterate()` in `application.py`. > > - **Behavior**: > - Remove `self.validate_correct_async_use()` call from `astream_iterate()` in `application.py`. This...