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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Python