|
# Table of Contents |
|
|
|
* [MemoryWritingAtomicFlow](#MemoryWritingAtomicFlow) |
|
* [MemoryWritingAtomicFlow](#MemoryWritingAtomicFlow.MemoryWritingAtomicFlow) |
|
* [\_\_init\_\_](#MemoryWritingAtomicFlow.MemoryWritingAtomicFlow.__init__) |
|
* [run](#MemoryWritingAtomicFlow.MemoryWritingAtomicFlow.run) |
|
* [run\_memwrite](#run_memwrite) |
|
* [\_\_init\_\_](#__init__) |
|
|
|
<a id="MemoryWritingAtomicFlow"></a> |
|
|
|
# MemoryWritingAtomicFlow |
|
|
|
<a id="MemoryWritingAtomicFlow.MemoryWritingAtomicFlow"></a> |
|
|
|
## MemoryWritingAtomicFlow Objects |
|
|
|
```python |
|
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 flow |
|
- `output_interface`: the output interface of the atomic flow |
|
|
|
<a id="MemoryWritingAtomicFlow.MemoryWritingAtomicFlow.__init__"></a> |
|
|
|
#### \_\_init\_\_ |
|
|
|
```python |
|
def __init__(**kwargs) |
|
``` |
|
|
|
Initialize the atomic flow. |
|
|
|
**Arguments**: |
|
|
|
- `kwargs` (`Dict[str, Any]`): additional key-value arguments to pass to the atomic flow |
|
|
|
<a id="MemoryWritingAtomicFlow.MemoryWritingAtomicFlow.run"></a> |
|
|
|
#### run |
|
|
|
```python |
|
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 |
|
|
|
<a id="run_memwrite"></a> |
|
|
|
# run\_memwrite |
|
|
|
<a id="__init__"></a> |
|
|
|
# \_\_init\_\_ |
|
|
|
|