Vapi · Schema

TestSuiteTestScorerAI

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
type string This is the type of the scorer, which must be AI.
rubric string This is the rubric used by the AI scorer.
View JSON Schema on GitHub

JSON Schema

vapi-testsuitetestscorerai-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TestSuiteTestScorerAI",
  "title": "TestSuiteTestScorerAI",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "This is the type of the scorer, which must be AI.",
      "enum": [
        "ai"
      ],
      "maxLength": 100
    },
    "rubric": {
      "type": "string",
      "description": "This is the rubric used by the AI scorer.",
      "maxLength": 10000
    }
  },
  "required": [
    "type",
    "rubric"
  ]
}