You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flow = "./basic.prompty" # path to the prompty file
data = "./data.jsonl" # path to the data file
# create run with the flow and data
base_run = pf.run(
flow=flow,
data=data,
column_mapping={
"first_name": "${data.first_name}",
"last_name": "${data.last_name}",
"question": "${data.question}",
},
stream=True,
)
Happens consistently.
Expected behavior
execute pf.run()
Screenshots
Running Information(please complete the following information):
Promptflow Package Version using pf -v: 1.10.1
Operating System: Windows 11
Python Version using python --version: python== 3.9.13
The text was updated successfully, but these errors were encountered:
Hi @imk4novazoon , does this issue occur when executing the notebook or a python script?
I did not reproduce this issue when executing it in notebook.
If you execute this code in a python script, which is by design, you need to move pf.run to name=="main"
Describe the bug
Run evaluation with PFClient throws RuntimeError
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
pf = PFClient()
Happens consistently.
Expected behavior
execute pf.run()
Screenshots
Running Information(please complete the following information):
pf -v
: 1.10.1python --version
: python== 3.9.13The text was updated successfully, but these errors were encountered: