Class FileActionTypeStage
java.lang.Object
bg.codexio.ai.openai.api.sdk.file.FileActionTypeStage
-
Constructor Summary
ConstructorsConstructorDescriptionFileActionTypeStage(UploadFileHttpExecutor uploadFileHttpExecutor, RetrieveFileContentHttpExecutor retrieveFileContentHttpExecutor) -
Method Summary
Modifier and TypeMethodDescriptionFileDownloadingStage<bg.codexio.ai.openai.api.payload.file.response.FileContentResponse> download(bg.codexio.ai.openai.api.payload.file.response.FileResponse fileResponse) FileDownloadingStage<bg.codexio.ai.openai.api.payload.file.response.FileContentResponse> download(FileResult fileResult) FileDownloadingNameTypeStage<bg.codexio.ai.openai.api.payload.file.response.FileContentResponse> FileTargetingStage<bg.codexio.ai.openai.api.payload.file.response.FileResponse> upload()
-
Constructor Details
-
FileActionTypeStage
public FileActionTypeStage(UploadFileHttpExecutor uploadFileHttpExecutor, RetrieveFileContentHttpExecutor retrieveFileContentHttpExecutor)
-
-
Method Details
-
upload
-
download
public FileDownloadingNameTypeStage<bg.codexio.ai.openai.api.payload.file.response.FileContentResponse> download(String fileId) -
download
public FileDownloadingStage<bg.codexio.ai.openai.api.payload.file.response.FileContentResponse> download(FileResult fileResult) -
download
public FileDownloadingStage<bg.codexio.ai.openai.api.payload.file.response.FileContentResponse> download(bg.codexio.ai.openai.api.payload.file.response.FileResponse fileResponse)
-