[Core] Extending inline docs for openai_utils.py, boosting coverage in test_utils.py, fixing #762
#1046
+398
−77