How to integrate the latest openai api

Using packages and dependencies, the API is included, but it always seems to be missing a function/functionality. Any instructions or experience in using same? If so, please share.