File size: 1,646 Bytes
8e549ff 52ab60b 8e549ff 52ab60b 8e549ff 52ab60b 8e549ff |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# 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\_\_
|