[feat] hypamemory settings

This commit is contained in:
kwaroran
2023-08-06 19:10:19 +09:00
parent 936c8f2dab
commit 0408125f1b
4 changed files with 13 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ export async function supaMemory(
let hypaResult = ""
if(arg.asHyper){
const hypa = new HypaProcesser('MiniLM')
const hypa = new HypaProcesser(db.hypaModel)
hypa.oaikey = db.supaMemoryKey
hypa.vectors = []
hypaChunks = hypaChunks.filter((value) => value.length > 1)