Used to store meta entries that can be shared between tasks.
Attributes:
Name |
Type |
Description |
entries |
list[BaseMetaEntry]
|
a list of meta entries for downstream tasks and subtasks to load.
|
Source code in griptape/memory/meta/meta_memory.py
| @define
class MetaMemory:
"""Used to store meta entries that can be shared between tasks.
Attributes:
entries: a list of meta entries for downstream tasks and subtasks to load.
"""
entries: list[BaseMetaEntry] = field(factory=list, kw_only=True)
def add_entry(self, entry: BaseMetaEntry) -> None:
self.entries.append(entry)
|
add_entry(entry)
Source code in griptape/memory/meta/meta_memory.py
| def add_entry(self, entry: BaseMetaEntry) -> None:
self.entries.append(entry)
|