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

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

View file

@ -219,7 +219,7 @@ export class KBService implements IGBKBService {
if (!question) {
const where = {
instanceId: instanceId,
content: { [Op.like]: `%[^a-z]${text}[^a-z]%` }
content: { [Op.like]: `%^[\w.]+${text}^[\w.]+%` }
};
if (from) {