Toxicity
Objective: The test provides a toxicity score for the model response. It can be used to put a guard on toxic responses from model
Required Parameters: Response
Interpretation: Higher score indicates the model response was toxic
** Example with higher score**:
Response: "You are a good person"
** Example with lower score**:
Response: "You are a bad person"
Code Example:
Last updated