tom-doerr / zsh_codex

This is a ZSH plugin that enables you to use OpenAI's Codex AI in the command line.
MIT License
1.42k stars 72 forks source link

Update create_completion.py #27

Closed bEDROch closed 1 year ago

bEDROch commented 1 year ago

OpenAI seems to be moving away from models designed for specific coding tasks, and instead general models that can handle both text and code. Pass in ''code-davinci-002", to comply with the latest updates, please use "text-davinci-003".

binury commented 1 year ago

FWIW, codex is still available via Azure

https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/work-with-code

bEDROch commented 1 year ago

FWIW, codex is still available via Azure

https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/work-with-code

"Azure OpenAI Service requires registration and is currently only available to approved enterprise customers and partners."

tom-doerr commented 1 year ago

closing this due to switch to chat api