Interface FileOperation
- All Known Implementing Classes:
DocumentCreateByFileRequest,DocumentUpdateByFileRequest
public interface FileOperation
File Operation Interface
Defines operations for handling file uploads in Dify dataset requests.
This interface is implemented by request classes that need to accept
and process file uploads as part of their functionality.
- Since:
- 2025/4/17 17:28
- Version:
- 1.0
- Author:
- yanghq
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetFile(org.springframework.web.multipart.MultipartFile file) Sets a file to be used in a dataset operation
-
Method Details
-
setFile
void setFile(org.springframework.web.multipart.MultipartFile file) Sets a file to be used in a dataset operation- Parameters:
file- The MultipartFile to be processed as part of a dataset request
-