-
Notifications
You must be signed in to change notification settings - Fork 399
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
feat: add FeedbackDataset
search endpoint
#3068
Conversation
FeedbackDataset
search endpoint
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #3068 +/- ##
===========================================
+ Coverage 90.77% 90.79% +0.02%
===========================================
Files 208 209 +1
Lines 11199 11237 +38
===========================================
+ Hits 10166 10203 +37
- Misses 1033 1034 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Co-authored-by: Francisco Aranda <francis@argilla.io>
6b35632
to
75717b3
Compare
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.
We can keep this definition here, but maybe in the future, we should consider moving it into the search module.
# Description This PR introduces a new endpoint `POST /api/v1/me/datasets/{dataset_id}/records/search` that will allow the user to search records using some basic queries over the fields. Closes #3067 **Type of change** - [x] New feature (non-breaking change which adds functionality) **How Has This Been Tested** New unit tests have been added to test the functionality of this new endpoint. In addition, I manually tested the endpoint using the Argilla dolly dataset. **Checklist** - [x] I have merged the original branch into my forked branch - [ ] I added relevant documentation - [x] follows the style guidelines of this project - [x] I did a self-review of my code - [ ] I made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: Francisco Aranda <francis@argilla.io>
# Description This PR introduces a new endpoint `POST /api/v1/me/datasets/{dataset_id}/records/search` that will allow the user to search records using some basic queries over the fields. Closes #3067 **Type of change** - [x] New feature (non-breaking change which adds functionality) **How Has This Been Tested** New unit tests have been added to test the functionality of this new endpoint. In addition, I manually tested the endpoint using the Argilla dolly dataset. **Checklist** - [x] I have merged the original branch into my forked branch - [ ] I added relevant documentation - [x] follows the style guidelines of this project - [x] I did a self-review of my code - [ ] I made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: Francisco Aranda <francis@argilla.io>
Description
This PR introduces a new endpoint
POST /api/v1/me/datasets/{dataset_id}/records/search
that will allow the user to search records using some basic queries over the fields.Closes #3067
Type of change
How Has This Been Tested
New unit tests have been added to test the functionality of this new endpoint. In addition, I manually tested the endpoint using the Argilla dolly dataset.
Checklist