πŸ“„ extractiveΒΆ

Note

ID: tasks.qa.with_context.extractive | Type: FormTask

{
    "inputs": [
        "context",
        "context_type",
        "question"
    ],
    "metrics": [
        "metrics.squad"
    ],
    "outputs": [
        "answers"
    ],
    "type": "form_task"
}

Explanation about FormTaskΒΆ

FormTask packs the different instance fields into dictionaries by their roles in the task.

The output instance contains three fields:

β€œinputs” whose value is a sub-dictionary of the input instance, consisting of all the fields listed in Arg β€˜inputs’. β€œoutputs” – for the fields listed in Arg β€œoutputs”. β€œmetrics” – to contain the value of Arg β€˜metrics’

References: metrics.squad

Read more about catalog usage here.