Remeber recently used model

This commit is contained in:
n4ze3m
2024-04-16 23:04:25 +05:30
parent 559e89c0c8
commit cfcf718769
7 changed files with 14 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ export const processKnowledge = async (msg: any, id: string): Promise<void> => {
knownledge_id: knowledge.id,
file_id: doc.source_id
})
} else if (doc.type === "txt" || doc.type === "text/plain") {
} else {
const loader = new PageAssisTXTUrlLoader({
name: doc.filename,
url: doc.content