This library server as a connector to the OpenAI's public AI/Machine Learning APIs for text/code completion, and also image generation.
To use these methods, you will have to get your own OpenAI API Key (which you can get for free, during a few months trial, if you create a new account in OpenAI's playground):https://beta.openai.com/account/api-keys
Inside, you will find two service actions:
OpenAI_PostGenerations (an API method that receives a prompt text and returns a newly created, original image that tries to represent your text content)
OpenAI_PostCompletions (an API method that receives a prompt text and returns basically what it is asked to return).
The PostCompletions API can receive either Text completion models or Code completion models.
A use-case of code completion could be you typing, in natural language, that you want a query to list X,Y,Z with your own conditions and the model will try to return an SQL statement that fullfills that.
For more information, check out this documentation link:https://beta.openai.com/docs/introduction/overview