[fix] hypamemory
This commit is contained in:
@@ -205,6 +205,7 @@ export async function supaMemory(
|
|||||||
const hypa = new HypaProcesser()
|
const hypa = new HypaProcesser()
|
||||||
hypa.oaikey = db.supaMemoryKey
|
hypa.oaikey = db.supaMemoryKey
|
||||||
hypa.vectors = []
|
hypa.vectors = []
|
||||||
|
hypaChunks = hypaChunks.filter((value) => value.length > 1)
|
||||||
await hypa.addText(hypaChunks.filter((value, index, self) => {
|
await hypa.addText(hypaChunks.filter((value, index, self) => {
|
||||||
return self.indexOf(value) === index;
|
return self.indexOf(value) === index;
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user