OpenDive / OpenAIKit

Swift Package for OpenAI's API
MIT License
248 stars 46 forks source link

Add GPT-4 Support #40

Closed stormychel closed 1 year ago

stormychel commented 1 year ago

Describe the feature or improvement you're requesting

Please add support for https://openai.com/research/gpt-4

If you are not yet working on this and want me to look into it please let me know.

Thanks!

Additional context

No response

MarcoDotIO commented 1 year ago

This will be implemented in the next revision update for OpenAIKit as an Enum object. Refer to #41. If you're willing to help out with this new feature, please do let me know!

stormychel commented 1 year ago

Awesome, let me know if I can help!

jtnessler commented 1 year ago

GPT-4 uses the same endpoint as GPT-3.5. Just use the model modifier.

stormychel commented 1 year ago

@jtnessler thanks for the heads-up, will try this!