gssocFAQ-Bot
gssocFAQ-Bot copied to clipboard
improve FAQ fuzzy matching for typo-heavy queries
What changed
- Added normalized fuzzy matching before the semantic embedding pass.
- Normalized common signup/register variants and typo forms like
registar/signup. - Scored candidates using both fuzzy similarity and keyword overlap from the FAQ question + answer text.
Why
- Users often type typo-heavy questions or shorthand forms, and the bot should still surface the closest FAQ instead of missing the intent.
Validation
- git diff --check
- python3 -m py_compile faq_matcher.py
- A local scoring check showed
how can i registar?normalizes tohow can i registerand favors the signup-related FAQ entry.
Closes #88
Someone is attempting to deploy a commit to the Piyush Patel's projects Team on Vercel.
A member of the Team first needs to authorize it.