mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context This PR significantly reduces the complexity of implementing a new memory store. Previously, memory stores needed to implement EmbeddingIndexBase, DataStoreBase, and MemoryStoreBase. Now, memory stores only need to implement MemoryStoreBase. This PR also brings MemoryStoreBase to parity with the .NET IMemoryStore interface. ### Description - Removed `data_entry.py`, `data_store_base.py`, `volatile_data_store.py`, and `embedding_index_base.py` - Added `with_embedding` parameter to all get/search methods. Passing the embedding between the application and storage is not optional and defaults to False - `MemoryStoreBase` (Python SK) == `IMemoryStore` (.NET SK) - Updated `volatile_memory_store` to implement `MemoryStoreBase` - Removed `ABC` from `MemoryStoreBase` - Added documentation to memory files Closes https://github.com/microsoft/semantic-kernel/issues/670