<jupyter_start><jupyter_text>Set flow path<jupyter_code>from promptflow import PFClient

# client can help manage your runs and connections.
pf = PFClient()

flow = "../flows/simple_hello_world"  # path to the flow directory<jupyter_output><empty_output><jupyter_text>Quick test<jupyter_code># Test flow
flow_inputs = {
    "name": "dummy",
}
flow_result = pf.test(flow=flow, inputs=flow_inputs)
# Test single node in the flow
node_name = "hello_world"
node_inputs = {
    "name": "dummy"
}
flow_result = pf.test(flow=flow, inputs=node_inputs, node=node_name)
print(f"Node result: {flow_result}")<jupyter_output><empty_output><jupyter_text>Batch run with a data file (with multiple lines of test data)<jupyter_code>data = "../datas/simple_hello_world.jsonl"  # path to the data file

# create run with default variant
base_run = pf.run(flow=flow, data=data, stream=True)<jupyter_output><empty_output>