How to resolve an error that occured on batch run from Azure DevOps to Promptflow (AI Studio)?

MAKINO, Sohta (牧野 荘太) 0 Reputation points
2024-12-04T05:10:23.8766667+00:00

by referring following site (https://github.com/microsoft/genaiops-promptflow-template/blob/main/docs/Azure_devops_how_to_setup.md), I constructed a connection from DevOps to AI Studio's promptflow via service principal.

It worked for a while, however, it got error since Oct 12.

The error in AI Studio is below from log/azureml/promptflow-service.log


2024-12-03 13:03:38 +0 Information Start processing flow run with run id: llmops_pipeline_20241203_130328_positive_feedbacked_assistant_ids, flow id: llmops_pipeline_20241203_130328_positive_feedbacked_assistant_ids

2024-12-03 13:03:38 +0 Information Created Run llmops_pipeline_20241203_130328_positive_feedbacked_assistant_ids under experiment fe3fdd69-3353-4e88-b07e-a128aa1fab71, experiment name as get_response_sets.

2024-12-03 13:03:41 +0 Error       Failed submit bulk run: llmops_pipeline_20241203_130328_positive_feedbacked_assistant_ids to backend flow runtime, error: {"Code":"UserError","Severity":null,"Message":null,"MessageFormat":null,"MessageParameters":{},"ReferenceCode":null,"DetailsUri":null,"Target":null,"Details":[],"InnerError":null,"DebugInfo":null,"AdditionalInfo":null}.

2024-12-03 13:03:42 +0 Information Mark BulkTest run llmops_pipeline_20241203_130328_positive_feedbacked_assistant_ids as Failed.


and from DevOps


[2024-12-03 13:03:35 +0000][promptflow][WARNING] - You're using compute session, if it's first time you're using it, it may take a while to build session and you may see 'NotStarted' status for a while.

Traceback (most recent call last):

File "/opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/runpy.py", line 197, in _run_module_as_main

return _run_code(code, main_globals, None,

File "/opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/runpy.py", line 87, in _run_code

exec(code, run_globals)

File "/home/vsts/work/1/s/llmops/common/prompt_pipeline.py", line 583, in

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
280 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.