Configure Q&A Genius Results in AI Search by preparing Knowledge article HTML, checking the source table, and designating topic and answer snippets where automatic extraction misses the intended text. The answer card draws from one article. Manual snippet classes guide extraction, while answer validation and search behavior still determine whether a card appears.
Define the Q&A Genius Results AI Search test
Start with a question that a Knowledge article can answer in a short passage. The card contains a topic snippet that establishes the subject and an answer snippet that supplies the detail. A successful test therefore needs more than a relevant article title: the extracted text must answer the question without requiring the reader to reconstruct the surrounding article.
Use an English query for this feature. Q&A Genius Results support English searches. Keep a record of the query, the expected article, its source table, and the passage you expect to see. That small test record helps distinguish a content problem from a change in query wording or search rules.
Check this behavior on your instance and release. Results for a particular query can change between releases as the underlying neural networks develop. Preserve representative questions for regression checks rather than treating one successful screenshot as a permanent acceptance result.
For the broader relationship between answer cards and search results, see AI Search Genius Results. Keep this configuration exercise focused on the Knowledge passage that should become the answer.
Inspect the article table and HTML fields
Q&A extraction works with HTML fields on Knowledge [kb_knowledge] records and records from tables extending Knowledge. Identify the actual source table before editing the article. A custom child table still belongs in this investigation, but its answer-bearing content needs to be in the article’s HTML fields.
The FAQ [kb_template_faq] table has a more specific mapping. Its Question HTML field supplies the topic, and its Answer HTML field supplies the answer. The Knowledge Management Advanced plugin, com.snc.knowledge_advanced, enables this table. For Knowledge and its other child tables, extraction selects topic and answer text from the record’s HTML fields.
- Identify the article that should answer the test question and record its table.
- Locate the HTML passage containing the answer, including any conditions a reader must understand.
- For an FAQ record, review Question and Answer separately so that each serves its intended purpose.
- Read the proposed answer outside its surrounding article and check that its meaning survives.
For example, an answer about requesting equipment should contain the relevant action and qualifying condition together. A passage that says “follow the steps above” leaves the card dependent on missing context. Improving that passage is an editorial recommendation, not a setting that changes the extraction algorithm.
If the source itself needs investigation, use the separate guide to indexed sources, attributes, and reindexing to organize that work.
Designate topic and answer snippets in article HTML
Automatic extraction chooses article elements without configurable selection criteria. When the intended passage is missed, you can designate snippets in the article HTML instead. This gives the extraction process an explicit topic and answer candidate; it does not turn the card into a fixed response.
Set class=”sn_snippet_topic” on the HTML element containing the intended topic. Set class=”sn_snippet_answer” on the element containing the intended answer. These class names belong on elements in the article’s HTML fields. Putting their names into ordinary article prose does not designate an element.
Aim for an answer snippet of 250 to 300 characters. Longer snippets may be truncated on the card. Count the proposed passage before applying the class, then check that shortening it has not removed a prerequisite, exception, or action needed to understand the answer.
- Choose a topic passage that identifies the subject clearly.
- Choose a self-contained answer passage and check its character length.
- Apply the corresponding class to each selected HTML element.
- Inspect the article HTML afterward to verify the class spelling and placement.
- Repeat the recorded question and compare the card with the intended passages.
Manual designation increases the likelihood of the selected material appearing. It does not guarantee a Q&A result. Keep the expected answer in your test record so that a missing card does not lead to repeated markup changes without a clear hypothesis.
For help planning this work, see ServiceNow implementation.
Separate extraction from answer validation
AI Search applies a machine reading comprehension model, or MRC model, to extracted answer snippets. The model evaluates whether the snippet answers the question. A candidate must pass that validation before it can appear as the answer on a Q&A card.
This creates two separate checks when troubleshooting. First, determine whether the article contains a suitable candidate and whether your intended elements are designated correctly. Second, examine whether that candidate actually answers the test question. A clearly marked paragraph can still be a poor answer to the wording the user entered.
You cannot choose the MRC model or configure its settings for these results. AI Search uses A/B testing with search query parameter values to select the model. Avoid turning an unsuccessful answer test into a search for a model selector.
Factoid extraction adds another distinction: the MRC model can identify the exact answer span inside an extracted snippet when this feature is enabled. That span is narrower than the whole candidate passage. Decide whether the issue is the selected passage or the answer span before changing article text.
As a review method, write down the shortest complete answer to your test question and compare it with the candidate paragraph. If the paragraph explains a related topic but never supplies that answer, revise the article for clarity before adjusting other search behavior.
Test FAQ shortcuts and search rule interactions
FAQ records have a special path when Knowledge Management Advanced is active. AI Search bypasses the usual Q&A routines and returns the FAQ record’s Answer value when the query exactly matches its Question value. It also does so when a result improvement rule promotes that FAQ record to the first search result.
Test the exact FAQ question separately from a paraphrase. This separates the special matching path from the broader behavior you expect for related wording. Use a question from your own knowledge base, then record which test used an exact match and which depended on a less direct formulation.
For other articles, boosting or promoting a result makes its appearance as a Q&A result more likely without guaranteeing it. A block action has a different effect: blocked search results are excluded when AI Search computes Q&A results. Review applicable rules before concluding that snippet markup failed.
Query processing also affects the test. AI Search disregards stop words, expands synonyms, and corrects query terms for Q&A results. If two users phrase the same request differently, compare those terms with the search profile configuration. The guide to search profiles, synonyms, and stop words covers the neighboring configuration area.
Change one variable at a time: article passage, snippet designation, query wording, or applicable rule. Record the observed card after each change. This is a troubleshooting method that helps keep a content edit from being mistaken for a rule effect.
Use a second question that is close in subject but asks for a different detail as a negative check. For instance, a passage describing how to request equipment should not be accepted by reviewers as a complete answer about returning it. The purpose is to evaluate meaning, not merely whether a card appears. Keep the original article wording alongside the test outcome so the next reviewer can assess the same evidence.
Questions about reviewing and maintaining answer cards
Can a user inspect the complete article behind an answer?
Yes. The answer card includes View Article, which opens the full Knowledge article. Include that action in acceptance testing so reviewers compare the concise answer with the complete procedure and its surrounding context.
Should Knowledge search properties be tuned for these cards?
Knowledge search property settings do not affect Q&A Genius Results. Investigate the article HTML, extraction behavior, and applicable AI Search features before treating those properties as an answer-card configuration route.
What should be recorded when a card appears but is misleading?
Record the exact query, displayed topic, displayed answer, and article passage together. As a review practice, identify the missing condition or ambiguous wording explicitly. That gives the article editor a concrete correction to evaluate instead of a general request to improve search.
How should a team hand over the completed configuration?
Keep a compact test set with expected articles, designated passages, and observed outcomes. Note which tests use FAQ exact matching. This recommended handover makes future checks repeatable and gives reviewers a way to spot changed behavior without reconstructing the original investigation.