Documentation for OpenAI Legacy SDKs

OpenAI updated the Node NPM and Python PIP SDKs in November of 2023.

If you are using the OpenAI Node NPM prior to version 4 or the OpenAI Python PIP module prior to version 1, use the documentation below.

Node

For OpenAI Node SDK version 3 or earlier, follow Open AI Legacy SDK Node Documentation.

Python

For OpenAI Python SDK version 0, follow Open AI Legacy SDK Python Documentation.