Argilla · Schema

Question

data annotationLLMNLPRLHFmachine learningdatasetsopen sourcehuman feedbackfine-tuningHugging Face

Properties

Name Type Description
id string
name string
title string
description string
required boolean
settings object
dataset_id string
inserted_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

argilla-question.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://argilla.io/schemas/question.json",
  "title": "Question",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "description": {
      "title": "Description",
      "type": "string",
      "nullable": true
    },
    "required": {
      "type": "boolean",
      "title": "Required"
    },
    "settings": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/TextQuestionSettings"
        },
        {
          "$ref": "#/components/schemas/RatingQuestionSettings"
        },
        {
          "$ref": "#/components/schemas/LabelSelectionQuestionSettings"
        },
        {
          "$ref": "#/components/schemas/MultiLabelSelectionQuestionSettings"
        },
        {
          "$ref": "#/components/schemas/RankingQuestionSettings"
        },
        {
          "$ref": "#/components/schemas/SpanQuestionSettings"
        }
      ],
      "title": "Settings",
      "discriminator": {
        "propertyName": "type",
        "mapping": {
          "label_selection": "#/components/schemas/LabelSelectionQuestionSettings",
          "multi_label_selection": "#/components/schemas/MultiLabelSelectionQuestionSettings",
          "ranking": "#/components/schemas/RankingQuestionSettings",
          "rating": "#/components/schemas/RatingQuestionSettings",
          "span": "#/components/schemas/SpanQuestionSettings",
          "text": "#/components/schemas/TextQuestionSettings"
        }
      }
    },
    "dataset_id": {
      "type": "string",
      "format": "uuid",
      "title": "Dataset Id"
    },
    "inserted_at": {
      "type": "string",
      "format": "date-time",
      "title": "Inserted At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "title",
    "required",
    "settings",
    "dataset_id",
    "inserted_at",
    "updated_at"
  ]
}