OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

Swift community driven package for OpenAI public API

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

If you want to send img to gpt vision, you have to pass it in payload like this, where "content" - array ``` payload = { "model": "gpt-4-vision-preview", "messages": [...

## What simple Reverse Proxy support ## Why The API Key can't be exposed to end-users, so this project fundamentally requires reverse proxy support to be of use beyond in-house....

## What remove legacy completions endpoint (uses obsolete models and truncates responses) ## Why legacy `.completions(query: CompletionsQuery)` endpoint technically still works, but it frequently truncates responses. the `.chats(query: ChatQuery)` endpoint...

## What remove obsolete, inactive 'edits' endpoint ## Why `edits` endpoint no longer works ## Affected Areas .edits(EditsQuery)

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

## What typesafe models ## Why shouldn't have to validate models. SpeechQuery had a method to validateSpeechModel, pointing out the need to validate Models, and highlighting the lack of validation...

make StreamableQuery symmetrically convert ChatQuery objects to non-streamable mode on the fly ## What ChatQuery initialized with `stream = true` can be used in `.chats` ## Why parity with non-streamable...

**Is your feature request related to a problem? Please describe.** The feature request is something related to Whisper API that is not available in this library. Able to receive transcript...

## What 5 key additions to the project: 1. Conversation Model allowing full conversation history to be stored in a single object. Includes methods for appending system, assistant, and user...

## What be specific with Codable: use Encodable for queries, Decodable for results, instead of Codable for everything ## Why accurate inheritance prevents accidental misuse ## Affected Areas JSON encoding...