-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for configuring the model #1
Comments
No you are right, gpt4 support is not fully implemented yet! I have some code started for it, but I can whip that out 👍 |
Cheers dude! I’m completely inexperienced in Go, but I’m keen to get to grips with it and make some contributions to the project |
Ah in fact - looks like the project you are using for OpenAI API interaction, PullRequestInc/go-gpt3, only supports the old “engine” endpoints and not the new “model” endpoints - perhaps the code you started is migrating to a different project / interfacing with the APIs directly? |
oh interesting catch, I am not familiar with that distinction. Do you have a link that explains the difference/how I can implement it? From a brief search I can't see anything, I can dive into the API docs later, but maybe you can save me some time :) |
So the Looks like Lines 93 to 98 in d1450e0
can be modified to:
where Again, thanks for working on this super cool project! I should really learn some go ... I got a bit stumped for a second there with some "slice literal" related errors haha. |
Also, its somewhat amusing to me to be using a module called "gpt3" to access gpt-4 models... I feel as though they should have named that project something a bit more future-proof 😆 |
awesome, thanks for the deets. Unlucky that the PR looks stale. Perhaps it would be worthwhile to use a more actively maintained client like https://github.com/sashabaranov/go-openai |
You can run
|
Nice one! Thanks for getting that in so quickly :) |
Hi,
Really awesome tool! I had one suggestion - it would be great to be able to configure which model is used, for example GPT-4, as this doesn't seem to currently be possible. Apologies if I'm wrong about this - I just had a cursory look at the code and it seemed like GPT-3 is hard coded.
Cheers
The text was updated successfully, but these errors were encountered: