Open lollolman opened 2 months ago
Make sure the file you are about to upload is encoded in UTF-8. If you try to upload a file saved in a different encoding, such as UTF-16 or UTF-7, you will receive that error.
In my own wrappers, I convert to UTF-8 before uploading and it takes care of this restriction by OpenAI.
When I try to use Add-OpeAIFile with the purpuse "batch" like this for example:
$upload = Add-OpenAIFile -File $file.FullName -Purpose "batch"
I receive this error:
Any suggestions? Many thanks!
L.