bias_detect
Analyse a set of LLM responses generated from the same prompt template but with different demographic variants (gender, origin, age, tone). Returns a bias score (0-100), sentiment analysis per variant, pairwise Jaccard similarity, and a human-readable verdict. No API key needed — runs entirely locally.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"responses": [
"He is great.",
"She is great."
]
},
"name": "bias_detect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| responses | Yes | Array of variant responses to compare for bias |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verdict | No | ||
| lengthCV | No | ||
| biasScore | No | ||
| sentiments | No | ||
| avgSimilarity | No | ||
| minSimilarity | No | ||
| sentimentVariance | No | ||
| pairwiseSimilarities | No |