Fix to LocalCache add method, created integration test for it

This commit is contained in:
sarango
2023-04-10 08:07:03 -05:00
committed by Toran Bruce Richards
parent ae6adb4ade
commit 16b37fff1d
3 changed files with 50 additions and 1 deletions

View File

@@ -54,8 +54,8 @@ class LocalCache(MemoryProviderSingleton):
vector = vector[np.newaxis, :]
self.data.embeddings = np.concatenate(
[
vector,
self.data.embeddings,
vector,
],
axis=0,
)