aduros / ai.vim

Generate and edit text in Neovim using OpenAI and GPT.
ISC License
291 stars 24 forks source link

Update to gpt-3.5-turbo? #24

Open siulynot opened 1 year ago

siulynot commented 1 year ago

Hello, could the plugin be update to use gpt-3.5-turbo?

thanks in advance, great tool you have here :)

zzhirong commented 1 year ago

To enable support for gpt-3.5-turbo, you can rollback to commit 921f4679366e179cd6f99e7c8eb178f9639395a2 in the ai.vim repository. However, please note that this version does not include the streaming feature. I submitted a pull request to add support for gpt-3.5-turbo, which was initially merged but later reverted.

aduros commented 1 year ago

See also #17. I'm interested in supporting chat completions one day, but it would take some thought as getting good results with this model requires a well-chosen prompt.