CustomFormModelField Class

A field that the model will extract from forms it analyzes.

New in version v2.1: Support for to_dict and from_dict methods

Inheritance
builtins.object
CustomFormModelField

Constructor

CustomFormModelField(**kwargs)

Variables

label
str

The form fields label on the form.

name
str

Canonical name; uniquely identifies a field within the form.

accuracy
float

The estimated recognition accuracy for this field.

Methods

from_dict

Converts a dict in the shape of a CustomFormModelField to the model itself.

to_dict

Returns a dict representation of CustomFormModelField.

from_dict

Converts a dict in the shape of a CustomFormModelField to the model itself.

from_dict(data: dict) -> azure.ai.formrecognizer._models.CustomFormModelField

Parameters

data
dict
Required

A dictionary in the shape of CustomFormModelField.

data
Required

Returns

CustomFormModelField

Return type

to_dict

Returns a dict representation of CustomFormModelField.

to_dict() -> dict

Returns

dict

Return type