-
Notifications
You must be signed in to change notification settings - Fork 293
chore: add Add Elements tool to dataset sdk #885
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
chore: add Add Elements tool to dataset sdk #885
Conversation
Signed-off-by: Grant Linville <[email protected]>
Signed-off-by: Grant Linville <[email protected]>
@@ -39,7 +35,7 @@ func (r datasetRequest) getToolRepo() string { | |||
if r.DatasetToolRepo != "" { | |||
return r.DatasetToolRepo | |||
} | |||
return "github.com/gptscript-ai/datasets" | |||
return "github.com/otto8-ai/datasets" |
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.
I am going to move the datasets repo as soon as my PR there is merged.
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.
Moved.
@@ -73,6 +73,7 @@ func (s *server) addRoutes(mux *http.ServeMux) { | |||
mux.HandleFunc("POST /datasets/list-elements", s.listDatasetElements) | |||
mux.HandleFunc("POST /datasets/get-element", s.getDatasetElement) | |||
mux.HandleFunc("POST /datasets/add-element", s.addDatasetElement) | |||
mux.HandleFunc("POST /datasets/add-elements", s.addDatasetElements) |
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.
This is a new route for the Add Elements
tool.
Signed-off-by: Grant Linville <[email protected]>
Signed-off-by: Grant Linville <[email protected]>
Signed-off-by: Grant Linville <[email protected]>
Depends on gptscript-ai/datasets#4
This updates the SDKServer to better handle the new changes to the dataset tools.