Q&A Genius Results

  • Release version: Washingtondc
  • Updated May 30, 2024
  • 4 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Q&A Genius Results

    Q&A Genius Results enhance the ServiceNow AI Platform by displaying top search results from the Knowledge [kbknowledge] table and its extensions. Each result card features a topic snippet and an answer snippet extracted from a Knowledge article, allowing users to view full articles directly from the card.

    Show full answer Show less

    Key Features

    • Snippet Extraction: AI Search automatically extracts relevant snippets from HTML fields. You cannot configure this extraction, but you can manually designate snippets in the article's HTML fields using specific classes.
    • Machine Reading Comprehension (MRC): The MRC model validates extracted snippets to ensure they answer user queries. AI Search conducts automated A/B testing to optimize model selection.
    • Knowledge Management Integration: When the Knowledge Management Advanced plugin is activated, Q&A Genius Results can include answers from the FAQ [kbtemplatefaq] table, enhancing search capabilities.
    • Factoid Extraction: Enables precise extraction and highlighting of answers within snippets based on user queries.

    Key Outcomes

    By utilizing Q&A Genius Results, ServiceNow customers can expect improved search accuracy and relevance, particularly for Knowledge articles and FAQs. The configuration options available, such as manual snippet designation and factoid extraction settings, allow for tailored results that meet user needs, leading to a more efficient information retrieval process.

    Q&A Genius Results display top search results extracted from HTML fields of records on the Knowledge [kb_knowledge] table and tables that extend it. Each Q&A Genius Result answer card shows a topic snippet and an answer snippet extracted from a single Knowledge article. You can view the full article directly from the answer card.

    A snippet is a short, typically paragraph-length, section of text that contains useful and relevant information. A Genius Result answer's topic snippet indicates the subject for the answer, while the answer snippet provides details on that subject.

    Figure 1. Sample Q&A Genius Result answer card
    Q&A answer card for Knowledge article with View Article action link.
    Select View Article to view the full Knowledge article.
    Note:
    Knowledge search property settings don't affect Q&A Genius Results. For more information on these settings, see Knowledge search properties.

    Q&A Genius Results only support English searches.

    Because the Q&A implementation is based on deep neural networks that are continually improving, Q&A results for specific queries may vary from release to release. Articles boosted or promoted by result improvement rules are more likely to appear as Q&A Genius Results, but aren't guaranteed to appear.

    Topic and answer snippet extraction for Q&A Genius Results

    By default, AI Search automatically determines which elements of a Knowledge article's HTML field values to extract as the Q&A topic and answer snippets. You can't configure the criteria for this extraction behavior.

    Topic and answer snippet extraction behavior varies depending on the source table for the Knowledge article:

    Knowledge article source

    Q&A topic and answer snippet extraction
    FAQ [kb_template_faq] table
    Note:
    This table is enabled when you activate the Knowledge Management Advanced plugin (com.snc.knowledge_advanced). For more information, see Activate the Knowledge Management Advanced plugin

    AI Search extracts the Q&A topic snippet from the Knowledge article record's Question HTML field. It extracts the Q&A answer snippet from the record's Answer HTML field.

    Knowledge [kb_knowledge] table and all other tables that extend it

    AI Search extracts the Q&A topic and answer snippets from the Knowledge article record's HTML fields.

    Because the default extraction behavior favors search precision, it may not extract all desired Q&A topic and answer snippets. You can override the extraction behavior for a Knowledge article by manually designating topic and answer snippets in that article's HTML fields. Manually designating snippets increases the likelihood that they will appear as Q&A results, but doesn't guarantee that they will.

    To manually designate snippets for an article, set the following HTML classes on elements in the article's HTML fields.

    HTML Class Description
    class="sn_snippet_topic"

    Set this class on the HTML field element that contains text that you want to designate as the Q&A Genius Result topic snippet for the Knowledge article.

    class="sn_snippet_answer"
    Set this class on the HTML element that contains text that you want to designate as the Q&A Genius Result answer snippet for the Knowledge article.
    Note:
    Answer snippets should be from 250 to 300 characters in length. Longer answer snippets may be cut off when displayed on the Q&A Genius Results card.

    Machine reading comprehension model

    AI Search uses a machine reading comprehension (MRC) model to validate extracted answer snippets. The MRC model analyzes each extracted snippet to determine whether it answers your question. An answer snippet must pass this validation filter step before it can be displayed as a Q&A Genius Result answer.

    When you enable factoid extraction for Q&A Genius Results, the MRC model also finds the exact span of text within the extracted snippet that represents the answer to your question.

    You can't configure settings for MRC models or choose which model to use for Q&A Genius Results. AI Search performs A/B testing with different search query parameter values to automatically select the best MRC model for you. For more details on this A/B testing process, see Search query parameter evaluation framework.

    Knowledge Management and Q&A Genius Results

    When you activate the Knowledge Management Advanced plugin (com.snc.knowledge_advanced), Q&A Genius Results can return answers from records on the FAQ [kb_template_faq] table as well as records on the Knowledge [kb_knowledge] table and its child tables.

    Additionally, if a search query satisfies one of the following conditions, AI Search bypasses the usual Q&A routines and returns the FAQ record's Answer field value as a Q&A Genius Result answer:
    • The user's search query exactly matches the Question field value from the FAQ record.
    • A result improvement rule promotes the FAQ record to be the first result for the user's search

    As an example, suppose you create an FAQ record with Question How do I reset my password?. When a user searches for how do I reset my password, AI Search returns a Q&A Genius Result card with an answer snippet extracted from the FAQ record's Answer field value.

    Interaction with other search features for Q&A Genius Results

    The following table describes interactions between Q&A Genius Results and other search features.

    Feature Interaction with Q&A Genius Results
    Result improvement rules with block actions

    When computing Q&A Genius Results for a search query, AI Search ignores blocked search results.

    Stop words

    When computing Q&A Genius Results for a search query, AI Search ignores stop words in the query.

    Synonyms

    When computing Q&A Genius Results for a search query, AI Search expands synonyms in the query.

    Typo handling

    When computing Q&A Genius Results for a search query, AI Search corrects terms in the query.