-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set FileName when creating Files? #150
Comments
I believe #91 should help (Edited to fix link) |
I can't open these links. Also I think this might be the reason my my current issue:
I'm uploading .txt files that should be supported. |
Sorry about that bad link, does the solution in #91 work? |
@jlewi @jacobzim-stl there is Line 39 in 952d231
|
Is it possible to set the filename when uploading a file?
File.New takes a FileNewParams
https://github.com/openai/openai-[go/blob/23d40fd68d5a6683066552ee39bfee2fdd35429d/file.go#L64](https://www.golinks.io/blob/23d40fd68d5a6683066552ee39bfee2fdd35429d/file.go#L64?trackSource=github)
and FileNewParams seems to be missing the FileName field
https://github.com/openai/openai-[go/blob/23d40fd68d5a6683066552ee39bfee2fdd35429d/file.go#L313](https://www.golinks.io/blob/23d40fd68d5a6683066552ee39bfee2fdd35429d/file.go#L313?trackSource=github)
The text was updated successfully, but these errors were encountered: