I wanted a Flow Based Programming tool to be integrated within my workflow. So, built barfi, which provides a streamlit component. Still work in progress, would appreciate feedback and ideas. Have uses cases? Would be great to know them
This component could be very promising. A few thoughts and ideas:
Could it be used to represent an ML process? First I have a loader (specification option of the file path, then I pass the data to a preprocessor e.g. SentenceSplitter or similar, then to the model for training (selection model possible, etc.).
Another idea could be to use it to model the architecture neural networks? That is, first input layer (with modification options of the neurons, then other layers).
A small demo of how to use the component (maybe with one of my suggestions?) in practice would emphasize the usefulness of the component for me and increase the barrier to use the component.
Case 1: You would need a text input box in the 1st Block (I am building that as we I write this) and the other Blocks you can specify the logic. Do you some parts of the SentenceSplitter and the Model implemented somewhere?
Case 2: You would need an a number input or a dropdown to select the specifics of the layer in the Block. I’ll implement this as well. Do you have an example neural network use-case that I can implement this for?
Cas 2: Maybe a simple NN for MNIST with keras? (The Functional API (keras.io)) It would also require to allow other params such as activation by selecting it from a dropdown too.
Great work. My use case is a multi-modal AI workflow. Static LLM prompts that kick off multiple responses that can flow into their own workflows and connect with additional models like image gen platforms.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.