POST
/
huggingface
/
llama_guard
/
evaluate

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
status
enum<string>
default: processed
Available options:
processed
score
number
required

How many violations were found in the content

passed
boolean | null
required

If true then the content is safe according to policy, if false then it is unsafe.

details
string | null

Short human-readable description of the result

cost
object | null