...
QuestionMark uses HuggingFace's transformers.js
under the hood.
The pretrained question-answering model Xenova/distilbert-base-cased-distilled-squad is used to retrieve the answer to a question from the context obtained from a URL or text.
The model is loaded and run directly in the browser.
Note that the answer is not generated but extracted from the context.