-
Notifications
You must be signed in to change notification settings - Fork 104
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
Proposed repository structure #6
Comments
Looks good as a baseline, I am just wondering change in this theme would be more verbose: maestro = build_maestro('sam', device='cuda').with("gpt-4")
result = maestro.prompt("Find a dog").with_image(image).visualize() Naming conventions to be agreed - I just would like to point out that usage of prompt_creator and result_processor with custom things (that cannot be fully custom) in between - may bring confusion for less advanced users - especially that for more advanced use cases, however - I would let |
This makes sense to me for set of marks style prompts where you're annotating an image. I think we may want to have some aspirational things that we may implement some day that we're keeping in mind as we design the API structure. Some thoughts on potential future directions of exploration:
|
Cool! I'll keep that in mind. We had a call with @PawelPeczek-Roboflow. We agreed on PromptCreator and ResultProcessor structure. Those can encapsulate a lot of the logic you just described. We just need to make sure the top layer allows to freely pass versions arguments. But because we are still not sure what we want to support we'll add high level API at the very end. |
we are changing the profile of the project, making these old ideas obsolete |
Proposed Code Structure
Every prompting pipeline comes with
prompt_creator
andresult_processor
. You can manually instantiate instances of those classes or callpipeline
function providingname
argument.Example Usage
LMM inference gets sandwiched between
prompt_creator
andresult_processor
calls.The text was updated successfully, but these errors were encountered: