File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -297,20 +297,23 @@ pub enum FileTaskStatus {
297
297
#[ derive( Debug , serde:: Serialize , serde:: Deserialize , Clone ) ]
298
298
pub struct PollTaskResponse {
299
299
pub id : String ,
300
+ pub file_name : String ,
301
+ pub file_url : Option < String > ,
300
302
pub total_document_pages : u32 ,
301
303
pub pages_processed : u32 ,
302
304
pub status : String ,
303
305
pub created_at : String ,
304
- pub pages : Option < Vec < PdfToMdChunk > > ,
306
+ pub pages : Option < Vec < PdfToMdPage > > ,
305
307
pub pagination_token : Option < String > ,
306
308
}
307
309
308
310
#[ derive( Debug , serde:: Serialize , serde:: Deserialize , Clone ) ]
309
- pub struct PdfToMdChunk {
311
+ pub struct PdfToMdPage {
310
312
pub id : String ,
311
313
pub task_id : String ,
312
314
pub content : String ,
313
- pub metadata : serde_json:: Value ,
315
+ pub page_num : u32 ,
316
+ pub usage : serde_json:: Value ,
314
317
pub created_at : String ,
315
318
}
316
319
You can’t perform that action at this time.
0 commit comments