The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.9+ application. The library includes type definitions for all request params and response fields, and ...
A software paper describing the library is available at arXiv. A brief discussion of the included models and their application in this package may also be found in an article available at Medium.