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

Enhance the response classification on dataset based tests #39

Open
3 tasks
guy-ps opened this issue Apr 18, 2024 · 0 comments
Open
3 tasks

Enhance the response classification on dataset based tests #39

guy-ps opened this issue Apr 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@guy-ps
Copy link
Contributor

guy-ps commented Apr 18, 2024

Today the dataset based tests rely on the response classifier not contains_refusal_keyword() but this classifier is very basic for some of the advanced needs of the next few datasets that will be implemented.

What is going to be done is:

  • We'll enhance the rule based mechanism that checks responses
  • We'll implement a semantic mechanism to go over the response
  • We'll allow for a choice between the two in the attack configuration
@guy-ps guy-ps added the enhancement New feature or request label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants