-
Notifications
You must be signed in to change notification settings - Fork 149
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
Enhance serving evaluation endpoints #595
Conversation
I think we can remove "query" from the response to minimize the bandwidth because "data" could be quite significant. |
Also, the returned |
Now using mapped user indices, new response is updated in main post. |
Description
This PR involves 3 changes to the serving functions:
metric_user_results
to evaluation results asuser_result
/evaluate
endpoint to accept evaluation data in the form of a json ifdata
is included. Else, it will follow previous behavior of using feedback data added through the/feedback
endpoint.query
is removed from reponseSample request for
/evaluate
:Response:
Related Issues
Checklist:
README.md
(if you are adding a new model).examples/README.md
(if you are adding a new example).datasets/README.md
(if you are adding a new dataset).