The decorators are a new change only in version azure-functions1.20.0b2 and above. The version brought in from core tools is older, so PYTHON_ISOLATE_WORKER_DEPENDENCIES=1 is necessary to pull from the user's azure-functions.
These changes add PIWD=1 to the local.settings.json file and specifies the specific version of azure-functions needed in the requirements.txt file. For sample READMEs, the steps are updated to run pip install -r requirements.txt so that this version of the library is installed.
This can be removed when there's a core tools release with the worker bringing a library version of 1.20.0b2 or above, but no ETA for that right now.
The decorators are a new change only in version
azure-functions
1.20.0b2 and above. The version brought in from core tools is older, soPYTHON_ISOLATE_WORKER_DEPENDENCIES=1
is necessary to pull from the user's azure-functions.These changes add PIWD=1 to the
local.settings.json
file and specifies the specific version ofazure-functions
needed in therequirements.txt
file. For sampleREADMEs
, the steps are updated to runpip install -r requirements.txt
so that this version of the library is installed.This can be removed when there's a core tools release with the worker bringing a library version of 1.20.0b2 or above, but no ETA for that right now.
Fixes https://github.com/Azure/azure-functions-openai-extension/issues/82