Hello!
I’m trying to run the quickstart from the openai tutorial page in my next js 13 app and keep getting the following error:
- warn ./app/api/chat/route.js
Attempted import error: ‘Configuration’ is not exported from ‘openai’ (imported as ‘Configuration’).
Import trace for requested module:
./app/api/chat/route.js
./app/api/chat/route.js
Attempted import error: ‘OpenAIApi’ is not exported from ‘openai’ (imported as ‘OpenAIApi’).
Import trace for requested module:
./app/api/chat/route.js
Is Configuration and OpenAIApi no longer imported from ‘openai’?