SwiftOpenAI
SwiftOpenAI copied to clipboard
OpenAI API build with Swift ❤️
Custom domain not allowed
I was checking and I think that at the moment, the parameter for the function call feature is not yet included, since developers interact with the model and retrieve structured...
I got error on createChatCompletionsStream. `Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character ':' after top-level value around line 1, column...
需要支持带图片而且是数据流的chat,这样方便使用gpt-4o
Add support for OpenAI gpt4o-mini
As the model "gpt4o-mini" is at least as powerful as gpt3.5-turbo but does not cost nearly as much, it should be usable by any API by now. Here the original...
Sorry if I'm missing it, but how can we monitor rate-limit data? I can't seem to determine if this project provides access to HTTP response metadata. Thanks!
1、when i use demo 2、and select Vision navagation item 3、select Gallery 4、the I get error: Error trying to understant the image you provided: The operation couldn’t be completed. (SwiftOpenAI.OpenAIAPIError error...