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

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

View file

@ -207,7 +207,7 @@ export class KBService implements IGBKBService {
question = await GuaribasQuestion.findOne({
where: {
instanceId: instanceId,
content: { [Op.like]: `%${text}%` }
content: { [Op.like]: `%[^a-z]${text}[^a-z]%` }
}
});
}