fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 43feb52788 - Show all commits

View file

@ -492,12 +492,14 @@ export class ChatServices {
}); });
if (process.env.WIKIPEDIA_TOOL) {
const tool = new WikipediaQueryRun({ const tool = new WikipediaQueryRun({
topKResults: 3, topKResults: 3,
maxDocContentLength: 4000, maxDocContentLength: 4000,
}); });
functions.push(tool); functions.push(tool);
}
return functions; return functions;
} }
} }