promptflow.storage module#

class promptflow.storage.AbstractBatchRunStorage#

Bases: AbstractRunStorage

load_flow_run_info(line_number: int)#
load_node_run_info_for_line(line_number: int)#
class promptflow.storage.AbstractCacheStorage#

Bases: object

get_cache_record_list() CacheRecord#
persist_cache_result()#
class promptflow.storage.AbstractRunStorage#

Bases: object

persist_flow_run(run_info: FlowRunInfo)#

Write the flow run info to somewhere immediately after one line data is executed for the flow.

Parameters:

run_info (RunInfo) – The run info of the node.

persist_node_run(run_info: RunInfo)#

Write the node run info to somewhere immediately after the node is executed.

Parameters:

run_info (RunInfo) – The run info of the node.

Submodules#