Skip to content
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

Batch upload for text chat #4

Open
zaratsian opened this issue Feb 15, 2022 · 0 comments
Open

Batch upload for text chat #4

zaratsian opened this issue Feb 15, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zaratsian
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

This is a feature request. Currently, users are only able to submit one text input at a time.

Describe the solution you'd like

While the current design does work well in certain scenarios, it would also be valuable if users could submit batch / bulk sets of text as one input to the framework. In certain use cases, this design should be more efficient and would also reduce the number of API calls required.

The new endpoint (or update to the existing endpoint) should all for multiple text inputs to be passes as one single call to the API. Each input will be processed individually, and the scores will be returned as individual scores, flagging only the toxic/disruptive messages.

What else have you considered

I've also considered retuning the scores as a bulk list of scores corresponding to each text input within the list. That design may cause unnecessary overhead in the system, and we'd like to only send a signal for toxic or disruptive messages.

Additional context

N/A

@zaratsian zaratsian added enhancement New feature or request good first issue Good for newcomers labels Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant