Package sk.iway.iwcm.components.ai.dto
Class InputDataDTO
java.lang.Object
sk.iway.iwcm.components.ai.dto.InputDataDTO
DTO for AI assistant input data
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.entity.ContentTypevoidprepareData(javax.servlet.http.HttpServletRequest request) voidvoidsetAssistantId(Long assistantId) voidsetImageCount(Integer imageCount) voidsetImageQuality(String imageQuality) voidsetImageSize(String imageSize) voidsetInputFile(File inputFile) voidsetInputValue(String inputValue) voidsetInputValueType(InputDataDTO.InputValueType inputValueType) voidsetOutputValueType(InputDataDTO.InputValueType outputValueType) voidsetReplaceMode(String replaceMode) voidsetTimestamp(Long timestamp) voidsetUserPrompt(String userPrompt)
-
Constructor Details
-
InputDataDTO
public InputDataDTO() -
InputDataDTO
-
-
Method Details
-
removeHtml
public void removeHtml() -
prepareData
- Throws:
IllegalStateException
-
getMimeType
-
getContentType
public org.apache.http.entity.ContentType getContentType() -
getFileAsBase64
- Throws:
IOException
-
getAssistantId
-
getUserPrompt
-
getInputValue
-
getInputValueType
-
getOutputValueType
-
getInputFile
-
getImageCount
-
getImageSize
-
getImageQuality
-
getReplaceMode
-
getTimestamp
-
setAssistantId
-
setUserPrompt
-
setInputValue
-
setInputValueType
-
setOutputValueType
-
setInputFile
-
setImageCount
-
setImageSize
-
setImageQuality
-
setReplaceMode
-
setTimestamp
-