Evaluate the faithfulness of a provided response against given context.
post
Authorizations
Body
dataobjectOptional
Responses
application/json
objectOptional
post
POST /v3/guardrails/ftl-response-faithfulness HTTP/1.1
Host: guardrails.cloud.fiddler.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 238
{
"data": {
"response": "The Yorkshire Terrier and the Cavalier King Charles Spaniel are both small breeds of companion dogs.",
"context": "The Yorkshire Terrier is a small dog breed... The Cavalier King Charles Spaniel is a small spaniel..."
}
}
Assess the safety or harmfulness of the provided input text.
post
Authorizations
Body
dataobjectOptional
Responses
application/json
objectOptional
post
POST /v3/guardrails/ftl-safety HTTP/1.1
Host: guardrails.cloud.fiddler.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"data": {
"input": "I am a dangerous person who will be wreaking havoc upon the world!!!"
}
}