MacPaw / OpenAI

Swift community driven package for OpenAI public API
MIT License
2.11k stars 357 forks source link

Possibility to upload files #230

Closed JohannesWi closed 1 month ago

JohannesWi commented 1 month ago

At ChatGPT Web, it is possible to upload files and analyse them. Is it possible to do the same with this package? I couldn’t find a solution so far.

SilverMarcs commented 1 month ago

The api does not support this yet. You will have to implement tool calling in your application and read files with your own implementation and return back the response of the tool call yourself to the api

JohannesWi commented 1 month ago

Thanks a lot for your response! I will try to find a solution by my self :)