gpt-3.5-turbo requires the chat completions endpoint, and messages instead of prompt. Its response is parsed differently.
Here’s a forum example of getting a response from the chat model after doing pip install --upgrade openai for use of the OpenAI python library and also placing your API key as an environment variable OPENAI_API_KEY