If you make a lot of OpenAI requests in your day-to-day, check this out:Also aplicable if you use instructor or marvin.

Minimalist Python library for LLM usage, comes with function calling and structured outputs.