다음을 통해 공유


DocumentKeyValuePair 클래스

고유한 필드 레이블(키) 및 필드 값(비어 있을 수 있음)이 있는 문서 필드를 나타내는 개체입니다.

상속
builtins.object
DocumentKeyValuePair

생성자

DocumentKeyValuePair(**kwargs: Any)

메서드

from_dict

DocumentKeyValuePair 셰이프의 받아쓰기를 모델 자체로 변환합니다.

to_dict

DocumentKeyValuePair의 받아쓰기 표현을 반환합니다.

from_dict

DocumentKeyValuePair 셰이프의 받아쓰기를 모델 자체로 변환합니다.

from_dict(data: Dict) -> DocumentKeyValuePair

매개 변수

Name Description
data
필수

DocumentKeyValuePair 셰이프의 사전입니다.

반환

형식 Description

DocumentKeyValuePair

to_dict

DocumentKeyValuePair의 받아쓰기 표현을 반환합니다.

to_dict() -> Dict

반환

형식 Description

dict

특성

confidence

키-값 쌍을 올바르게 추출할 때의 신뢰도입니다.

confidence: float

key

키-값 쌍의 필드 레이블입니다.

key: DocumentKeyValueElement

value

키-값 쌍의 필드 값입니다.

value: DocumentKeyValueElement | None