Record Class TextExtractionRequest.TextExtractionParameters
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.watsonx.bean.TextExtractionRequest.TextExtractionParameters
- Enclosing class:
TextExtractionRequest
public static record TextExtractionRequest.TextExtractionParameters(List<TextExtractionRequest.Type> requestedOutputs, TextExtractionRequest.Mode mode, TextExtractionRequest.OCR ocrMode, Boolean autoRotationCorrection, TextExtractionRequest.EmbeddedImages createEmbeddedImages, Integer outputDpi, Boolean outputTokensAndBbox)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTextExtractionParameters
(List<TextExtractionRequest.Type> requestedOutputs, TextExtractionRequest.Mode mode, TextExtractionRequest.OCR ocrMode, Boolean autoRotationCorrection, TextExtractionRequest.EmbeddedImages createEmbeddedImages, Integer outputDpi, Boolean outputTokensAndBbox) Creates an instance of aTextExtractionParameters
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theautoRotationCorrection
record component.Returns the value of thecreateEmbeddedImages
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.mode()
Returns the value of themode
record component.ocrMode()
Returns the value of theocrMode
record component.Returns the value of theoutputDpi
record component.Returns the value of theoutputTokensAndBbox
record component.Returns the value of therequestedOutputs
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TextExtractionParameters
public TextExtractionParameters(List<TextExtractionRequest.Type> requestedOutputs, TextExtractionRequest.Mode mode, TextExtractionRequest.OCR ocrMode, Boolean autoRotationCorrection, TextExtractionRequest.EmbeddedImages createEmbeddedImages, Integer outputDpi, Boolean outputTokensAndBbox) Creates an instance of aTextExtractionParameters
record class.- Parameters:
requestedOutputs
- the value for therequestedOutputs
record componentmode
- the value for themode
record componentocrMode
- the value for theocrMode
record componentautoRotationCorrection
- the value for theautoRotationCorrection
record componentcreateEmbeddedImages
- the value for thecreateEmbeddedImages
record componentoutputDpi
- the value for theoutputDpi
record componentoutputTokensAndBbox
- the value for theoutputTokensAndBbox
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
requestedOutputs
Returns the value of therequestedOutputs
record component.- Returns:
- the value of the
requestedOutputs
record component
-
mode
Returns the value of themode
record component.- Returns:
- the value of the
mode
record component
-
ocrMode
Returns the value of theocrMode
record component.- Returns:
- the value of the
ocrMode
record component
-
autoRotationCorrection
Returns the value of theautoRotationCorrection
record component.- Returns:
- the value of the
autoRotationCorrection
record component
-
createEmbeddedImages
Returns the value of thecreateEmbeddedImages
record component.- Returns:
- the value of the
createEmbeddedImages
record component
-
outputDpi
Returns the value of theoutputDpi
record component.- Returns:
- the value of the
outputDpi
record component
-
outputTokensAndBbox
Returns the value of theoutputTokensAndBbox
record component.- Returns:
- the value of the
outputTokensAndBbox
record component
-