DocumentModelInfo Class

Document model information including the model ID, its description, and when the model was created.

New in version v2022-01-30-preview: The api_version and tags properties

Inheritance
builtins.object
DocumentModelInfo

Constructor

DocumentModelInfo(**kwargs)

Variables

model_id
str

Unique model id.

description
str

A description for the model.

created_on
datetime

Date and time (UTC) when the model was created.

api_version
str

API version used to create this model.

tags
dict[str, str]

List of user defined key-value tag attributes associated with the model.

Methods

from_dict

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

to_dict

Returns a dict representation of DocumentModelInfo.

from_dict

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

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

Parameters

data
dict
Required

A dictionary in the shape of DocumentModelInfo.

data
Required

Returns

DocumentModelInfo

Return type

to_dict

Returns a dict representation of DocumentModelInfo.

to_dict() -> dict

Returns

dict

Return type