Skip to content

Commit

Permalink
Update gsq component to azure-ai-evaluation sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft committed Dec 3, 2024
1 parent bac8b34 commit 83607cc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,10 @@ conf:
- python=3.10
- pip:
- azure-cli-core~=2.62.0
- promptflow-evals==0.3.1
- azure-ai-evaluation~=1.0.1
- openai~=1.11.1
- json5==0.9.11
- mltable~=1.6.1
- promptflow[azure]~=1.13.0
- promptflow-tools~=1.4.0
- keyrings.alt~=5.0.0
- azureml-mlflow~=1.56.0
- mlflow~=2.14.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,10 @@ conf:
- python=3.10
- pip:
- azure-cli-core~=2.62.0
- promptflow-evals==0.3.1
- azure-ai-evaluation~=1.0.1
- openai~=1.11.1
- json5==0.9.11
- mltable~=1.6.1
- promptflow[azure]~=1.13.0
- promptflow-tools~=1.4.0
- keyrings.alt~=5.0.0
- mlflow~=2.14.3
- azureml-fsspec~=1.3.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
import uuid

import pandas as pd
from promptflow.core import AzureOpenAIModelConfiguration
from promptflow.evals.evaluate import evaluate
from promptflow.evals.evaluators import (
from azure.ai.evaluation._model_configurations import AzureOpenAIModelConfiguration
from azure.ai.evaluation import (
evaluate,
CoherenceEvaluator,
FluencyEvaluator,
GroundednessEvaluator,
Expand Down
6 changes: 3 additions & 3 deletions assets/model_monitoring/components/tests/gsq-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
azure-ai-ml==1.13.0
promptflow-evals==0.3.1
azure-ai-evaluation~=1.0.1
azure-cli-core~=2.62.0
azure-identity~=1.12.0
azure-identity~=1.19.0
# apparently this is still needed for some azureml paths, see:
# assets/model_monitoring/components/src/model_data_collector_preprocessor/store_url.py
azureml-core~=1.56.0
azureml-core~=1.58.0
mlflow~=2.14.3
fsspec~=2023.4.0
azureml-fsspec==1.3.1
Expand Down
2 changes: 1 addition & 1 deletion assets/model_monitoring/components/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
azure-ai-ml==1.13.0
azure-cli-core~=2.45.0
azure-identity~=1.12.0
azure-identity~=1.19.0
azureml-fsspec~=1.0.0
azureml-mlflow~=1.49.0
fsspec~=2023.4.0
Expand Down

0 comments on commit 83607cc

Please sign in to comment.