Update release branch
Automated updates made by [assets-release](https://github.com/Azure/azureml-assets/actions/runs/11938958501)
This commit is contained in:
Родитель
cb84419193
Коммит
6f0de391ad
|
@ -7,7 +7,7 @@ dependencies:
|
|||
- pip=23.1
|
||||
- pip:
|
||||
- azureml-mlflow==1.58.0.post3
|
||||
- azure-ai-ml==1.22.2
|
||||
- azure-ai-ml==1.22.3
|
||||
- azureml-core==1.58.0
|
||||
- azureml-telemetry==1.58.0
|
||||
- mltable==1.6.1
|
||||
|
|
|
@ -56,6 +56,7 @@ def initialize_evaluators(command_line_args):
|
|||
"""Initialize the evaluators using correct parameters and credentials for rai evaluators."""
|
||||
evaluators = {}
|
||||
evaluators_o = json.loads(command_line_args.evaluators)
|
||||
rai_evaluators = json.loads(command_line_args.rai_evaluators)
|
||||
for evaluator_name, evaluator in evaluators_o.items():
|
||||
init_params = evaluator["InitParams"]
|
||||
update_value_in_dict(init_params, "AZURE_OPENAI_API_KEY", lambda x: os.environ[x.upper()])
|
||||
|
@ -122,11 +123,9 @@ parser.add_argument("--eval_data", type=str)
|
|||
parser.add_argument("--eval_output", type=str)
|
||||
parser.add_argument("--evaluators", type=str)
|
||||
parser.add_argument("--evaluator_name_id_map", type=str)
|
||||
parser.add_argument("--rai_evaluators", type=str, help="Comma-separated list of RAI evaluators", required=False)
|
||||
|
||||
args = parser.parse_args()
|
||||
rai_evaluators = ['Sexual-Content-Evaluator', 'Hate-and-Unfairness-Evaluator',
|
||||
'Violent-Content-Evaluator', 'Self-Harm-Related-Content-Evaluator',
|
||||
'Groundedness-Pro-Evaluator', 'Protected-Material-Evaluator', 'Indirect-Attack-Evaluator']
|
||||
|
||||
if __name__ == '__main__':
|
||||
copy_evaluator_files(args)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
azure-ai-evaluation~=1.0.0b5
|
||||
azure-ai-evaluation==1.0.0b5
|
||||
azureml-mlflow==1.58.0.post3
|
||||
azure-ai-ml==1.22.2
|
||||
azure-ai-ml==1.22.3
|
||||
|
||||
openai==1.54.5
|
||||
opentelemetry-api==1.28.2
|
||||
|
|
|
@ -5,6 +5,6 @@ dependencies:
|
|||
- python=3.9
|
||||
- pip=21.3.1
|
||||
- pip:
|
||||
- azure-ai-ml==1.22.2
|
||||
- azure-ai-ml==1.22.3
|
||||
- azureml-mlflow==1.58.0.post3
|
||||
- mldesigner==0.1.0b18
|
||||
|
|
|
@ -29,7 +29,7 @@ dependencies:
|
|||
- msrest>=0.6.21,<0.7.1
|
||||
- mltable==1.6.1
|
||||
- openai==1.54.5
|
||||
- azure-ai-ml==1.22.2
|
||||
- azure-ai-ml==1.22.3
|
||||
- mldesigner==0.1.0b18
|
||||
- tiktoken
|
||||
- idna==3.7
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
azure-core==1.32.0
|
||||
azure-ai-ml==1.22.2
|
||||
azure-ai-ml==1.22.3
|
||||
azure-identity==1.19.0
|
||||
azureml-evaluate-mlflow==0.0.63
|
||||
ffmpeg-python==0.2.0
|
||||
|
|
|
@ -5,7 +5,7 @@ dependencies:
|
|||
- python=3.8
|
||||
- pip=23.3
|
||||
- pip:
|
||||
- azure-ai-ml==1.22.2
|
||||
- azure-ai-ml==1.22.3
|
||||
- azure-identity==1.19.0
|
||||
# v1 package for fetching run details
|
||||
- azureml-core==1.58.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче