Open pamelafox opened 1 year ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github @Azure/azure-ml-sdk.
The azure-ai-ml
package needs to update its dependency on marshmallow
. Thx for reporting this issue. We'll address this in the sprint of November.
These deprecation warnings are still present:
../../../../anaconda/envs/ds_ditto/lib/python3.10/site-packages/azure/ai/ml/_schema/assets/index.py:17
/anaconda/envs/ds_ditto/lib/python3.10/site-packages/azure/ai/ml/_schema/assets/index.py:17: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead.
stage = fields.Str(default="Development")
../../../../anaconda/envs/ds_ditto/lib/python3.10/site-packages/azure/ai/ml/_schema/core/fields.py:434
../../../../anaconda/envs/ds_ditto/lib/python3.10/site-packages/azure/ai/ml/_schema/core/fields.py:434
/anaconda/envs/ds_ditto/lib/python3.10/site-packages/azure/ai/ml/_schema/core/fields.py:434: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'unknown': 'include'}
super().__init__(**kwargs)
../../../../anaconda/envs/ds_ditto/lib/python3.10/site-packages/azure/ai/ml/_schema/monitoring/compute.py:12
/anaconda/envs/ds_ditto/lib/python3.10/site-packages/azure/ai/ml/_schema/monitoring/compute.py:12: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'allowed_values': ['ServerlessSpark']}
compute_type = fields.Str(allowed_values=["ServerlessSpark"])
Describe the bug
When using evaluate(), I get these deprecation warnings:
To Reproduce
This code should produce the same warnings:
https://github.com/Azure/aistudio-chat-demo/blob/main/src/langchain/langchain_qna.ipynb
Expected behavior
No warnings