#i get this error when using the api via python

2 messages · Page 1 of 1 (latest)

twin gull
#

openai.error.InvalidRequestError: Invalid URL (POST /v1/engines/gpt-3.5-turbo/chat/completions)
this is the code that i am using:

response = openai.ChatCompletion.create(
        engine='gpt-3.5-turbo',
        messages=messageslist
    )
#

nevermind i figured it out