(
self,
memory_path: str,
vectorstore: VectorStore,
memory: Optional[Dict] = None,
)
| 16 | |
| 17 | class BasicMemory(BaseMemory): |
| 18 | def __init__( |
| 19 | self, |
| 20 | memory_path: str, |
| 21 | vectorstore: VectorStore, |
| 22 | memory: Optional[Dict] = None, |
| 23 | ) -> None: |
| 24 | if memory is None: |
| 25 | self.memory = {} |
| 26 | else: |
| 27 | self.memory = memory |
| 28 | self.memory_path = memory_path |
| 29 | self.vectorstore = vectorstore |
| 30 | |
| 31 | def add( |
| 32 | self, |
nothing calls this directly
no outgoing calls
no test coverage detected