Upload file using MultipartFile #314
YevhenKlymenko
started this conversation in
Ideas
Replies: 1 comment
-
@YevhenKlymenko Thanks for using simple-openai. Please, feel free to create a PR with your approach. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to upload files using MultipartFile?
Using a file path isn’t very suitable, since it requires saving temporary files on the server and then manually deleting them. With MultipartFile, you can work directly with the byte stream without saving the file, which is much more convenient.
Or it can be array of bytes, or InputStream
Beta Was this translation helpful? Give feedback.
All reactions