API Endpoints
Prompt Injection Detection
This evaluator checks if any of the specified competitors was mentioned
POST
/
langevals
/
competitor_blocklist
/
evaluate
Body
application/json
data
object[]
requiredList of entries to be evaluated, check the field type for the necessary keys
settings
object | null
Evaluator settings, check the field type for what settings this evaluator supports
env
object | null
Optional environment variables to override the server ones
Response
200 - application/json
status
enum<string>
default: processedAvailable options:
processed
score
number
requiredNumber of competitors mentioned in the input and output
passed
boolean | null
default: falseIs the message containing explicit mention of competitor
details
string | null
Short human-readable description of the result
cost
object | null