OpenAI – ‘ChatCompletion’ object is not subscriptable when trying to run NLP to SQL Query I’m getting this error: