Judge AI output
This endpoint evaluates the performance of generative AI models by verifying multiple text outputs. It returns statistical analysis results, providing insights into the accuracy and reliability of the AI-generated content.
Endpoint: POST https://api.deepverify.ai/v1/deepverify/judge-ai
Request Example
curl -X POST "https://api.deepverify.ai/v1/deepverify/ai-output" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"texts": [
"AI-generated report for legal contracts.",
"AI summary of patient records for healthcare claims.",
"AI-generated ESG compliance report."
]
}'
Response Example
{
"total_texts": 3,
"verified_texts": 2,
"unverified_texts": 1,
"accuracy_rate": 0.67,
"details": [
{
"text": "AI-generated report for legal contracts.",
"verified": true,
"confidence_score": 0.85
},
{
"text": "AI summary of patient records for healthcare claims.",
"verified": false,
"confidence_score": 0.45
},
{
"text": "AI-generated ESG compliance report.",
"verified": true,
"confidence_score": 0.90
}
]
}
Parameters
texts (array): A list of multiple AI-generated text outputs to be verified.
Response Fields
total_texts (integer): The total number of text instances submitted.
verified_texts (integer): The number of texts that were successfully verified.
unverified_texts (integer): The number of texts that were found to contain disinformation or inaccuracies.
accuracy_rate (float): The percentage of verified texts out of the total.
details (array): A breakdown of each text’s verification result, including the confidence score and verification status.
Create a new user
POST
/users
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
name
string
Name of the user
age
number
Age of the user
Response
{
"id": 1,
"name": "John",
"age": 30
}
Last updated