1818 "DataParseResponseSplit" ,
1919 "DataParseResponseGrounding" ,
2020 "DataParseResponseGroundingParseResponseGrounding" ,
21+ "DataParseResponseGroundingParseResponseGroundingLowConfidenceSpan" ,
2122 "DataParseResponseGroundingParseResponseTableCellGrounding" ,
2223 "DataParseResponseGroundingParseResponseTableCellGroundingPosition" ,
2324 "DataSpreadsheetParseResponse" ,
@@ -56,6 +57,14 @@ class DataParseResponseSplit(BaseModel):
5657 pages : List [int ]
5758
5859
60+ class DataParseResponseGroundingParseResponseGroundingLowConfidenceSpan (BaseModel ):
61+ confidence : float
62+
63+ span : List [object ]
64+
65+ text : str
66+
67+
5968class DataParseResponseGroundingParseResponseGrounding (BaseModel ):
6069 box : ParseGroundingBox
6170
@@ -80,6 +89,10 @@ class DataParseResponseGroundingParseResponseGrounding(BaseModel):
8089 "tableCell" ,
8190 ]
8291
92+ confidence : Optional [float ] = None
93+
94+ low_confidence_spans : Optional [List [DataParseResponseGroundingParseResponseGroundingLowConfidenceSpan ]] = None
95+
8396
8497class DataParseResponseGroundingParseResponseTableCellGroundingPosition (BaseModel ):
8598 chunk_id : str
@@ -117,6 +130,8 @@ class DataParseResponseGroundingParseResponseTableCellGrounding(BaseModel):
117130 "tableCell" ,
118131 ]
119132
133+ confidence : Optional [float ] = None
134+
120135 position : Optional [DataParseResponseGroundingParseResponseTableCellGroundingPosition ] = None
121136
122137
@@ -182,7 +197,7 @@ class DataSpreadsheetParseResponseChunk(BaseModel):
182197
183198
184199class DataSpreadsheetParseResponseMetadata (BaseModel ):
185- """Metadata for spreadsheet parsing result. """
200+ """Parsing metadata """
186201
187202 duration_ms : int
188203 """Processing duration in milliseconds"""
@@ -257,7 +272,7 @@ class DataSpreadsheetParseResponse(BaseModel):
257272 """Full document as HTML with anchor tags and tables"""
258273
259274 metadata : DataSpreadsheetParseResponseMetadata
260- """Metadata for spreadsheet parsing result. """
275+ """Parsing metadata """
261276
262277 splits : List [DataSpreadsheetParseResponseSplit ]
263278 """Sheet-based splits"""
0 commit comments