I want to switch to GPT-4.
I tried to simply swap the llm reference in this python app and change the token limit. but it didn't work.
Any suggestions?
#Got GPT4 API Access. Now need to switch models in python app. Help~
4 messages · Page 1 of 1 (latest)
I think it's just changing the call to chatCompletion instead of just completion. https://platform.openai.com/docs/guides/chat like in this guide, openai.ChatCompletion.create() is the endpoint call
An API for accessing new AI models developed by OpenAI
And the model to the cgpt4 name
How can I do that? I'm sorry I'm not a dev. I used chatgpt to write the code in that repl