Open Presentation

Search docs

Loading documentation…
    OpenPresentation/opf
    Browse docs
    On this page
    View source

    Data Generator

    Who produced the data: a person or a model, and which. A reviewer of a generated deck can see that a table came from a model, and from which one.

    Metadata

    Definition
    #/$defs/DataGenerator
    Form
    object
    Source
    spec/schemas/opf.schema.json

    Field index

    FieldTypeReq.Description
    typeenumyes'human' for a person, 'model' for a language model or another generating program.
    type · Allowed values
    "human""model"
    namestringyesThe person, model or tool, as its owner names it.

    type

    typeenumrequiredyesdefault—

    'human' for a person, 'model' for a language model or another generating program.

    type · Allowed values
    "human""model"
    type.json
    {
      "type": "human"
    }

    name

    typestringrequiredyesdefault—

    The person, model or tool, as its owner names it.

    name.json
    {
      "name": "metricgen 2.1"
    }
    Complete definition constraints
    Schema constraints
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "type",
        "name"
      ],
      "description": "Who produced the data: a person or a model, and which. A reviewer of a generated deck can see that a table came from a model, and from which one.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "human",
            "model"
          ],
          "description": "'human' for a person, 'model' for a language model or another generating program."
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "The person, model or tool, as its owner names it.",
          "examples": [
            "metricgen 2.1",
            "Avery Chen"
          ]
        }
      },
      "examples": [
        {
          "type": "model",
          "name": "metricgen 2.1"
        }
      ]
    }