VermontDepartmentOfHealth / covid-bot

A knowledge base & automated chatbot from the Vermont Department of Health with info for the COVID-19 response
https://vermontdepartmentofhealth.github.io/covid-bot/
MIT License
3 stars 2 forks source link

add synonyms to faq-site filter #25

Closed KyleMit closed 4 years ago

KyleMit commented 4 years ago

We can download QnA Maker Alterations using the Alterations API

Then pass into mark.js options object which takes a synonyms property:

An object with synonyms. The key will be a synonym for the value and the value for the key. Example: "synonyms": {"one": "1"} will add the synonym "1" for "one" and vice versa