Skip to content

Guardrails UI: Add dropdowns and modals #130

@nishika26

Description

@nishika26

Describe the current behaviour?
We use drop downs and modals in the guardrails UI where it is needed to add extra customisation of the validators present, however, we currently have these drop down and modals for the Q1 validators we had on kaapi guardrails staging before 18th april which are PII remover, lexical slur match, gender assumption bias and ban words. The current guardrails UI does not support drop downs and modals for Q2 validators, making it difficult for users to customize their inputs for these validators. This limits user experience and functionality.

Describe the enhancement you'd like
Now we have many Q2 validators in staging as well such as topic relevance and all the toxicity detection validators (llamaguard, profanity free and Nsfw text), and since they are in staging , they are showing up in frontend staging as well, but the validator customization fields of all these validators are not drop downs or modals making it harder for the user to fill them if they want to, so this enhancement should be done for these validators. We should enhance the guardrails UI by adding drop downs and modals for the following Q2 validators:

  • Topic relevance
  • Llamaguard
  • Profanity free
  • Nsfw text

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions