Lightweight React Hook to interact with with the OpenAI Completion API, which completes text using GPT models