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

[FEATURE] Basic guardrails for remote model input and output #2227

Closed
ylwu-amzn opened this issue Mar 19, 2024 · 2 comments
Closed

[FEATURE] Basic guardrails for remote model input and output #2227

ylwu-amzn opened this issue Mar 19, 2024 · 2 comments
Labels
enhancement New feature or request v2.13.0 Issues targeting release v2.13.0

Comments

@ylwu-amzn
Copy link
Collaborator

ylwu-amzn commented Mar 19, 2024

Is your feature request related to a problem?
LLM may generate biased/impolite/hate outputs. We need to build guardrail to block such result.

What solution would you like?
Add basic guardrail based on stop words and regex. If model input and output contains stop word or regex, will throw exception. This will be released in 2.13.

What alternatives have you considered?
No

Do you have any additional context?
We plan to add guardrail based on other guardrail service and semantic after 2.13.

@ylwu-amzn ylwu-amzn added enhancement New feature or request untriaged and removed untriaged labels Mar 19, 2024
@ylwu-amzn ylwu-amzn moved this to In Progress in ml-commons projects Mar 19, 2024
@ylwu-amzn ylwu-amzn added v2.13.0 Issues targeting release v2.13.0 and removed untriaged labels Mar 19, 2024
@ylwu-amzn ylwu-amzn changed the title [FEATURE] Guardrails for remote model input and output [FEATURE] Basic guardrails for remote model input and output Mar 25, 2024
@chishui
Copy link
Contributor

chishui commented Mar 26, 2024

Can this guardrail be turned on and off by users?

@jngz-es jngz-es closed this as completed Apr 1, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in ml-commons projects Apr 1, 2024
@jngz-es
Copy link
Collaborator

jngz-es commented Apr 1, 2024

#2209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2.13.0 Issues targeting release v2.13.0
Projects
Status: 2.13.0 (Launched )
Development

No branches or pull requests

3 participants