API Endpoints
Off-Topic Detection
This evaluator checks if the user message is concerning one of the allowed topics of the chatbot
Env vars: OPENAI_API_KEY, AZURE_API_KEY, AZURE_API_BASE
POST
Body
application/json
List of entries to be evaluated, check the field type for the necessary keys
Optional environment variables to override the server ones
Evaluator settings, check the field type for what settings this evaluator supports
Response
200 - application/json
Confidence level of the intent prediction
Predicted intent of the message and the confidence
Is the message concerning allowed topic
Available options:
processed