We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux
python 3.8 azureml-0.2.7
Follow steps in https://github.com/Azure/azureml-examples/blob/main/sdk/python/generative-ai/rag/notebooks/faiss/scheduled_update_faiss_index.ipynb Run the rag deployment part: from azureml.rag.utils.deployment import infer_deployment It reports error: ModuleNotFoundError: No module named 'openai.api_resources' It seems openai.api_resources has been deprecated.
from azureml.rag.utils.deployment import infer_deployment
openai.api_resources
No error
ModuleNotFoundError: No module named 'openai.api_resources'
No response
The text was updated successfully, but these errors were encountered:
It seems related to this openai/openai-python#742
We can temporarily fix this issue with pip install openai==0.27.8
pip install openai==0.27.8
Sorry, something went wrong.
Thanks @vsantele it seems to solve the problem
No branches or pull requests
Operating System
Linux
Version Information
python 3.8
azureml-0.2.7
Steps to reproduce
Follow steps in https://github.com/Azure/azureml-examples/blob/main/sdk/python/generative-ai/rag/notebooks/faiss/scheduled_update_faiss_index.ipynb
Run the rag deployment part:
from azureml.rag.utils.deployment import infer_deployment
It reports error: ModuleNotFoundError: No module named 'openai.api_resources'
It seems
openai.api_resources
has been deprecated.Expected behavior
No error
Actual behavior
ModuleNotFoundError: No module named 'openai.api_resources'
Addition information
No response
The text was updated successfully, but these errors were encountered: