Table of Contents
MemoryWritingAtomicFlow
MemoryWritingAtomicFlow Objects
class MemoryWritingAtomicFlow(AtomicFlow)
This class is used to write memory to memory files.
Input Interface:
summary(str): summary to write to memory file (logs)memory_files(dict): dictionary of memory files to write to.
Output Interface:
MemWrite_output(str): message that whether memory write was successful
Configuration Parameters:
input_interface: the input interface of the atomic flowoutput_interface: the output interface of the atomic flow
__init__
def __init__(**kwargs)
Initialize the atomic flow.
Arguments:
kwargs(Dict[str, Any]): additional key-value arguments to pass to the atomic flow
run
def run(input_data: Dict[str, Any])
Run the atomic flow.
Arguments:
input_data(Dict[str, Any]): the input data to run
Returns:
Dict[str, Any]: the output data