-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V0 #1
Merged
Merged
V0 #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elijahbenizzy
force-pushed
the
initial-prototypes
branch
3 times, most recently
from
February 6, 2024 04:33
c85afff
to
addb081
Compare
TODO prior to release:
|
elijahbenizzy
force-pushed
the
initial-prototypes
branch
25 times, most recently
from
February 9, 2024 06:20
f04b365
to
83b82f6
Compare
elijahbenizzy
force-pushed
the
initial-prototypes
branch
4 times, most recently
from
February 9, 2024 21:01
a18d028
to
96350d8
Compare
We don't have any code yet, but this will get us started.
Current features include: 1. Basic state machine, implemented through objects 2. Hooks for customizing different steps 3. Hamilton integration for building Burr actions with Hamilton 4. Streamlit integration with tools for displaying burr during execution 5. Transition conditions/expressions for managing action transitions (conditional)
These test every core + integration capability. These consist largely of individual unit tests, but there are a few e2e tests of various components mixed in. The coverage is fairly high (but not perfect yet).
This is a bit of a hello world, but the state in streamlit is quite ugly, so I'm going to do cowsay as the hello world. This is a good example of a simple state machine.
As a toy this is a fun one, also kind of cute/a good demo for the very basics. The streamlit integration is simple as we go step-by-step with an infinite loop and no user input. It is also very easy to rationalize about.
We will likely change this to use the new functional API, but its a good example for how burr can work with LLMs. Note this is not fully complete -- we don't have errors handled yet.
These are not implemented, we will be adding READMEs with outlines soon
This has two jobs -- pre-commit + tests. Tests run for 3.9, 3.10, 3.11, 3.12.
This looks like this: @action(reads=..., writes=...) def my_action(state: State) -> Tuple[dict, State]: ... Then in ApplicationBuilder: with_actions(action=my_action) This should be a much easier, lower-effort approach to building out the action.
TODO -- decide whether the cowsay example is good as it makes a fun streamlit app.
See docs/README-internal.md
Adds READMEs with basic instructions.
elijahbenizzy
force-pushed
the
initial-prototypes
branch
from
February 9, 2024 21:03
96350d8
to
af5a62e
Compare
Starting at 0.1.0 as that is as good of a place as any!
A variant of the BSD 3-Clause License that explicitly does not grant any patent rights.
skrawcz
approved these changes
Feb 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.