UnknownEnergy / chatgpt-api

https://www.chatworm.com
MIT License
90 stars 18 forks source link

[Feature] Implement file upload #16

Closed tioannidis closed 1 year ago

tioannidis commented 1 year ago

Hi, what do you think about the possibility to upload files (doc, pdf) so that ChatGPT can translate them, for example? Regards, Theo

UnknownEnergy commented 1 year ago

sounds like a good idea, I know that there are already some tools out there but with the newer models with more tokens it makes more sense to also include a feature like that yes

UnknownEnergy commented 1 year ago

At the moment it is not easily possible to create a fileupload as big files require some kind of memory to load it into. Check this project out: https://github.com/pashpashpash/vault-ai they made a tool specifically for file uploads. If OpenAI in the future supports direct file uploads via their endpoints we could do it easily but for now I would suggest to use the other tool.

regards, Daniel

tioannidis commented 1 year ago

ok, thanks for the infos