Spaces:
Runtime error
Runtime error
Upload memory.py
Browse files
memory.py
CHANGED
@@ -35,7 +35,7 @@ class MemoryBlocks:
|
|
35 |
)
|
36 |
print('已加载模拟记忆区块')
|
37 |
|
38 |
-
def upsert(self, dialogue_list
|
39 |
self.embeddings.upsert(
|
40 |
(
|
41 |
uid, {'text': dialogue.user_content, 'raw': dialogue.raw()}, None
|
|
|
35 |
)
|
36 |
print('已加载模拟记忆区块')
|
37 |
|
38 |
+
def upsert(self, dialogue_list):
|
39 |
self.embeddings.upsert(
|
40 |
(
|
41 |
uid, {'text': dialogue.user_content, 'raw': dialogue.raw()}, None
|