POST
/
langevals
/
off_topic
/
evaluate
[
  {
    "status": "processed",
    "score": 123,
    "passed": true,
    "details": "<string>",
    "cost": {
      "currency": "<string>",
      "amount": 123
    }
  }
]

Body

application/json
data
object[]
required

List 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
Successful Response
score
number
required

Confidence level of the intent prediction

status
enum<string>
default:
processed
Available options:
processed
passed
boolean | null
default:
true

Is the message concerning allowed topic

details
string | null
default:
1.0 confidence that the actual intent is other

Predicted intent of the message and the confidence

cost
object | null