Assistants API (and more) Wrapper in Swift

I was trying to find a Swift Wrapper that is updated and supports the latest endpoints of OpenAI, I was not able to find one so I created this GitHub - jamesrochabrun/SwiftOpenAI: An open-source Swift package for interacting with OpenAI's public API.
This library supports, Vision, TTS, Assistants API and even log probs in chat completions.

2 Likes

Now with stream support Release Assistant API Stream · jamesrochabrun/SwiftOpenAI · GitHub

1 Like

About to try it now! I’ve been trying to enable assistant streaming for a while now. Please save me!

1 Like

can you contact me or make a youtube tutorial helping me to integrate my assistant api with swift? i can even pay if you want but i need it this week.

I’ve implemented it. The only thing i’m missing is streaming.