Parea AI · Schema

AnnotationCriterionSchema

Schema for AnnotationCriterionSchema

LLMEvaluationObservabilityTestingPrompt ManagementAI EngineeringMachine LearningTracingExperimentationHuman Feedback

Properties

Name Type Description
name string Annotation name
type object Annotation type
min_value number Minimum value
max_value number Maximum value
value_score_map object Value to score mapping
id object Annotation ID
organization_id string Organization ID
description string Annotation description
cur_bootstrapped_eval_id integer Current bootstrapped evaluation ID
bootstrapped_evals object Bootstrapped evaluations
View JSON Schema on GitHub

JSON Schema

AnnotationCriterionSchema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/parea/main/json-schema/AnnotationCriterionSchema.json",
  "title": "AnnotationCriterionSchema",
  "description": "Schema for AnnotationCriterionSchema",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "Annotation name"
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DefinedAnnotationType"
        }
      ],
      "description": "Annotation type"
    },
    "min_value": {
      "title": "Min Value",
      "description": "Minimum value",
      "type": "number",
      "nullable": true
    },
    "max_value": {
      "title": "Max Value",
      "description": "Maximum value",
      "type": "number",
      "nullable": true
    },
    "value_score_map": {
      "title": "Value Score Map",
      "description": "Value to score mapping",
      "additionalProperties": {
        "type": "number"
      },
      "type": "object",
      "nullable": true
    },
    "id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ],
      "title": "Id",
      "description": "Annotation ID"
    },
    "organization_id": {
      "type": "string",
      "title": "Organization Id",
      "description": "Organization ID"
    },
    "description": {
      "title": "Description",
      "description": "Annotation description",
      "type": "string",
      "nullable": true
    },
    "cur_bootstrapped_eval_id": {
      "title": "Cur Bootstrapped Eval Id",
      "description": "Current bootstrapped evaluation ID",
      "type": "integer",
      "nullable": true
    },
    "bootstrapped_evals": {
      "additionalProperties": {
        "$ref": "#/components/schemas/BootstrapEvalSchema"
      },
      "type": "object",
      "title": "Bootstrapped Evals",
      "description": "Bootstrapped evaluations"
    }
  },
  "type": "object",
  "required": [
    "name",
    "type",
    "id",
    "organization_id"
  ]
}