Class PreSignedUrlConvertDocumentResponse
java.lang.Object
ai.docling.serve.api.response.ProcessedDocumentResponse
ai.docling.serve.api.convert.response.ConvertDocumentResponse
ai.docling.serve.api.convert.response.PreSignedUrlConvertDocumentResponse
Response for document conversions with S3 or PUT target types.
This response type is returned when the conversion request specifies an S3 target or PUT target. The converted documents are stored in the specified location. The response includes processing statistics and conversion metrics.
This response type is returned in any one the following scenarios:
Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty
collections/strings are omitted from JSON output.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for creatingPreSignedUrlConvertDocumentResponseinstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull PreSignedUrlConvertDocumentResponse.Builderbuilder()Number of attempted conversionsNumber of failed conversionsNumber of partial successesNumber of successful conversionsTotal processing time in seconds.Type of response@NonNull StringtoString()
-
Method Details
-
getResponseType
Description copied from class:ConvertDocumentResponseType of response- Specified by:
getResponseTypein classConvertDocumentResponse- Returns:
- the response type
-
builder
-
toBuilder
-
getProcessingTime
Total processing time in seconds.- Returns:
- the processing time in seconds
-
getNumConverted
Number of attempted conversions- Returns:
- the number of attempted conversions
-
getNumSucceeded
Number of successful conversions- Returns:
- the number of successful conversions
-
getNumPartiallySucceeded
Number of partial successes- Returns:
- the number of partial successes
-
getNumFailed
Number of failed conversions- Returns:
- the number of failed conversions
-
toString
-