Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.37k stars 2.71k forks source link

azure-ai evaluate() shows get_host_creds warning #34006

Open pamelafox opened 5 months ago

pamelafox commented 5 months ago

Describe the bug

When calling evaluate(), we see this in the log:

Fail writing properties '{'_azureml.evaluation_run': 'azure-ai-generative-parent'}' to run history: 'FileStore' object has no attribute 'get_host_creds'

This does not affect the success of the evaluate() call, but leads developers to think there's an error in their code. (I have had multiple reports from devs using ai-rag-chat-evaluator about it).

To Reproduce

Steps to reproduce the behavior:

  1. Checkout https://github.com/Azure-Samples/ai-rag-chat-evaluator/
  2. Run python3 -m scripts evaluate --config=example_config.json

Expected behavior

No spurious warnings

kristapratico commented 5 months ago

Tagging @luigiw @needuv @paulshealy1 @singankit to take a look

pamelafox commented 3 months ago

This is still an issue.