BarryWang commited on
Commit
c478992
1 Parent(s): 76d48be

Upload memory.py

Browse files
Files changed (1) hide show
  1. memory.py +1 -1
memory.py CHANGED
@@ -35,7 +35,7 @@ class MemoryBlocks:
35
  )
36
  print('已加载模拟记忆区块')
37
 
38
- def upsert(self, dialogue_list: list[Dialogue]):
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