-
Notifications
You must be signed in to change notification settings - Fork 6
feat: add dataset tools and libraries #1
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
Conversation
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
main.go
Outdated
|
||
func main() { | ||
if len(os.Args) < 2 { | ||
fmt.Println("missing argument") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add what we expect the argument to be? I see the switch below, but maybe something like missing action as first argument
would be more descriptive so the LLM can recover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Darren had some specific instructions about what to do for this, so I just updated it to be the way he wants.
Moving this to draft because I received more clarification on the design, and there are a lot of things about this that need to change. |
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
This one is ready again. |
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
This PR adds five tools that act as an API for datasets: create and list datasets, and list, get, and add elements to a dataset.
All datasets are represented as a set of files written to disk. Each individual piece of data is stored in a separate file. Depending on how this goes, I may end up creating an interface for datasets in this repo, and have a separate implementation option that stores everything in a single file, in cases where we have several small pieces of data. For now though, this should suffice.