Find answers from the community

Updated last year

does anyone know the solution to this

At a glance

The community member is facing an issue with a deprecated response when using the openai.ChatCompletion.create() function with the gpt-4-1106-preview model. The comments suggest that the model name may need to be changed, but there is no explicitly marked answer. One community member provides a link to the OpenAI documentation on text generation, and another community member shares a link to a Discord conversation, but the solution is not clearly stated.

Useful resources
does anyone know the solution to this very quickly. This no longer works/ deprecated

response = openai.ChatCompletion.create(
model='gpt-4-1106-preview',
messages=messages
)
Add a reply
Sign up and join the conversation on Discord