DocumentClassifierDetails Class
Document classifier information. Includes the doc types that the model can classify.
- Inheritance
-
builtins.objectDocumentClassifierDetails
Constructor
DocumentClassifierDetails(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a DocumentClassifierDetails to the model itself. |
to_dict |
Returns a dict representation of DocumentClassifierDetails. |
from_dict
Converts a dict in the shape of a DocumentClassifierDetails to the model itself.
from_dict(data: Dict[str, Any]) -> DocumentClassifierDetails
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of DocumentClassifierDetails. |
Returns
Type | Description |
---|---|
DocumentClassifierDetails |
to_dict
Returns a dict representation of DocumentClassifierDetails.
to_dict() -> Dict[str, Any]
Returns
Type | Description |
---|---|
Dict[str, Any] |
Attributes
api_version
API version used to create this document classifier.
api_version: str
classifier_id
Unique document classifier name.
classifier_id: str
created_on
Date and time (UTC) when the document classifier was created.
created_on: datetime
description
Document classifier description.
description: str | None
doc_types
List of document types to classify against.
doc_types: Mapping[str, ClassifierDocumentTypeDetails]
expires_on
Date and time (UTC) when the document classifier will expire.
expires_on: datetime | None
Azure SDK for Python