DocumentKeyValuePair Class
An object representing a document field with distinct field label (key) and field value (may be empty).
- Inheritance
-
builtins.objectDocumentKeyValuePair
Constructor
DocumentKeyValuePair(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a DocumentKeyValuePair to the model itself. |
to_dict |
Returns a dict representation of DocumentKeyValuePair. |
from_dict
Converts a dict in the shape of a DocumentKeyValuePair to the model itself.
from_dict(data: Dict) -> DocumentKeyValuePair
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of DocumentKeyValuePair. |
Returns
Type | Description |
---|---|
DocumentKeyValuePair |
to_dict
Returns a dict representation of DocumentKeyValuePair.
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
Attributes
confidence
Confidence of correctly extracting the key-value pair.
confidence: float
key
Field label of the key-value pair.
key: DocumentKeyValueElement
value
Field value of the key-value pair.
value: DocumentKeyValueElement | None
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Python