The specified version 2.8.1 for the openai package is not a valid version on PyPI, which will cause the dependency installation to fail. The code in function_app.py uses the AzureOpenAI client, which is part of the v1.x SDK. Please update this to a correct version, for example, ~=1.28.0.