Upload 5 files
Browse files- MemoryReadingAtomicFlow.py +5 -1
- README.md +5 -1
MemoryReadingAtomicFlow.py
CHANGED
|
@@ -12,8 +12,12 @@ class MemoryReadingAtomicFlow(AtomicFlow):
|
|
| 12 |
Any composite flow that uses this flow should have
|
| 13 |
memory_files: Dict[str, str] which maps memory name to its memory file location in the flow_state
|
| 14 |
|
| 15 |
-
*Input Interface*:
|
|
|
|
| 16 |
{"plan": "examples/JARVIS/plan.txt"}
|
|
|
|
|
|
|
|
|
|
| 17 |
"""
|
| 18 |
|
| 19 |
def __init__(self, **kwargs):
|
|
|
|
| 12 |
Any composite flow that uses this flow should have
|
| 13 |
memory_files: Dict[str, str] which maps memory name to its memory file location in the flow_state
|
| 14 |
|
| 15 |
+
*Input Interface*:
|
| 16 |
+
- `memory_files` : name of the Dict which maps the memory name to its file location e.g.
|
| 17 |
{"plan": "examples/JARVIS/plan.txt"}
|
| 18 |
+
|
| 19 |
+
*Output_Interface*:
|
| 20 |
+
- corresponding memory content, for example, `code_library`. There could be multiple memory content returned.
|
| 21 |
"""
|
| 22 |
|
| 23 |
def __init__(self, **kwargs):
|
README.md
CHANGED
|
@@ -21,9 +21,13 @@ A flow to read memory from given files.
|
|
| 21 |
Any composite flow that uses this flow should have
|
| 22 |
memory_files: Dict[str, str] which maps memory name to its memory file location in the flow_state
|
| 23 |
|
| 24 |
-
*Input Interface*:
|
|
|
|
| 25 |
{"plan": "examples/JARVIS/plan.txt"}
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
<a id="__init__"></a>
|
| 28 |
|
| 29 |
# \_\_init\_\_
|
|
|
|
| 21 |
Any composite flow that uses this flow should have
|
| 22 |
memory_files: Dict[str, str] which maps memory name to its memory file location in the flow_state
|
| 23 |
|
| 24 |
+
*Input Interface*:
|
| 25 |
+
- `memory_files` : name of the Dict which maps the memory name to its file location e.g.
|
| 26 |
{"plan": "examples/JARVIS/plan.txt"}
|
| 27 |
|
| 28 |
+
*Output_Interface*:
|
| 29 |
+
- corresponding memory content, for example, `code_library`. There could be multiple memory content returned.
|
| 30 |
+
|
| 31 |
<a id="__init__"></a>
|
| 32 |
|
| 33 |
# \_\_init\_\_
|