pyyaml requests openai