github.com/instill-ai/component@v0.16.0-beta/pkg/base/testdata/connectorTasks.json (about)

     1  {
     2    "TASK_TEXT_EMBEDDINGS": {
     3      "instillShortDescription": "Turn text into numbers, unlocking use cases like search.",
     4      "input": {
     5        "instillUIOrder": 0,
     6        "properties": {
     7          "model": {
     8            "$ref": "additional.json#/components/schemas/CreateEmbeddingRequest/properties/model",
     9            "instillAcceptFormats": [
    10              "string"
    11            ],
    12            "instillShortDescription": "ID of the model to use",
    13            "instillUIOrder": 0,
    14            "instillUpstreamTypes": [
    15              "value",
    16              "reference",
    17              "template"
    18            ],
    19            "title": "Model"
    20          },
    21          "text": {
    22            "description": "The text",
    23            "instillAcceptFormats": [
    24              "string"
    25            ],
    26            "instillUIMultiline": true,
    27            "instillUIOrder": 1,
    28            "instillUpstreamTypes": [
    29              "value",
    30              "reference",
    31              "template"
    32            ],
    33            "title": "Text",
    34            "type": "string"
    35          }
    36        },
    37        "required": [
    38          "text",
    39          "model"
    40        ],
    41        "title": "Input",
    42        "type": "object"
    43      },
    44      "output": {
    45        "instillUIOrder": 0,
    46        "properties": {
    47          "embedding": {
    48            "$ref": "https://raw.githubusercontent.com/instill-ai/component/88cf79188084a6f4afd87f715e13f334d3674013/schema.json#/$defs/instill_types/embedding",
    49            "instillUIOrder": 0,
    50            "title": "Embedding"
    51          }
    52        },
    53        "required": [
    54          "embedding"
    55        ],
    56        "title": "Output",
    57        "type": "object"
    58      }
    59    }
    60  }