OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

Swift community driven package for OpenAI public API

Results 80 OpenAI issues
Sort by recently updated
recently updated
newest added

## What remove special handling of `performSpeechRequest` handle receiving raw (non-JSON-wrapped) data in the same workflow as all other incoming data. ## Why `AudioSpeechResult` wrapper uniquely does not represent JSON...

**Is your feature request related to a problem? Please describe.** If the app gets suspended or terminated, the URLSession cannot continue. **Describe the solution you'd like** Either the OpenAI class...

### Discussed in https://github.com/MacPaw/OpenAI/discussions/147 Originally posted by **leventmolla** January 25, 2024 OpenAI has a new model gp4-1106-vision-preview which can explain a collection of images. I think it could be done...

A very recent feature added to the library are functions which are passed to the chat request as an array of `ChatFunctionDeclaration`. The problem is that it's very tedious to...

**Describe the bug** When connecting to OpenAI API, the following error is shown ```APIErrorResponse(error: OpenAI.APIError(message: "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations", type: "invalid_request_error", param: nil, code:...

**Is your feature request related to a problem? Please describe.** I have a usecase in which user should be able to upload an image and search should be based on...

I am implementing OpenAI into my iOS app. I integrated OpenAI library into my iOS app using swiftpackage. I configured OpenAI api key and implemented "Completion" with prompt text. But,...

**Describe the bug** I implement a custom function with parameters to be called form OpenAI API, but always call without the parameters: **To Reproduce** Definition of Function `ChatFunctionDeclaration ( name:...

Getting error: The data couldn't be read because its missing - [What is Azure OpenAI Service? - Azure Cognitive Services | Microsoft Learn](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/overview)

Is there intended to be support for the new gpt-4-vision-preview model soon?