API Endpoints
Competitor Detection with LLM
This evaluator use an LLM-as-judge to check if the conversation is related to competitors, without having to name them explicitly
Env vars: OPENAI_API_KEY, AZURE_API_KEY, AZURE_API_BASE
POST
/
langevals
/
competitor_llm
/
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
requiredConfidence that the message is competitor free
passed
boolean | null
default: trueIs the message related to the competitors
details
string | null
Short human-readable description of the result
cost
object | null