You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: box_sdk_gen/schemas/ai_extract_structured_response.py
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ def __init__(
18
18
created_at: DateTime,
19
19
*,
20
20
completion_reason: Optional[str] =None,
21
+
confidence_score: Optional[Dict] =None,
21
22
ai_agent_info: Optional[AiAgentInfo] =None,
22
23
**kwargs
23
24
):
@@ -26,9 +27,12 @@ def __init__(
26
27
:type created_at: DateTime
27
28
:param completion_reason: The reason the response finishes., defaults to None
28
29
:type completion_reason: Optional[str], optional
30
+
:param confidence_score: The confidence score numeric values for each extracted field as a JSON dictionary. This can be empty if no field could be extracted., defaults to None
- The metadata template containing the fields to extract. For your request to work, you must provide either `metadata_template` or `fields`, but not both.
0 commit comments