US 12,259,912 B2
Method and system for interactive searching based on semantic similarity of semantic representations of text objects
Stefania Raimondo, Montreál (CA)
Assigned to SERVICENOW CANADA INC., Montréal (CA)
Filed by SERVICENOW CANADA INC., Montréal (CA)
Filed on Jun. 23, 2021, as Appl. No. 17/304,616.
Prior Publication US 2022/0414128 A1, Dec. 29, 2022
Int. Cl. G06F 16/33 (2019.01); G06F 16/332 (2019.01); G06F 16/334 (2025.01); G06F 40/30 (2020.01); G06N 20/00 (2019.01)
CPC G06F 16/3326 (2019.01) [G06F 16/3344 (2019.01); G06F 40/30 (2020.01); G06N 20/00 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method for generating an interactive search interface in response to a search request, the method being executed by a processor, the processor being connected to a database and a client device, the processor having access to at least one machine learning (ML) model having been trained to generate and compare semantic representations of text objects, the method comprising:
receiving, from the client device, the search request, the search request comprising an indication of a text object, the text object comprising one of: a word, a sentence, a paragraph, and a document;
generating, based on the indication of the text object, a semantic representation of the search request;
receiving, from the database, a set of semantically similar documents, said receiving the set of semantically similar documents comprising:
comparing, using the at least one ML model, the semantic representation of the search request with each of a plurality of document representations to obtain a plurality of semantic similarity scores, each semantic similarity score being indicative of a semantic similarity between the search request and a respective document of a plurality of documents in the database; and
selecting, based on the plurality of semantic similarity scores, the set of semantically similar documents from the plurality of documents;
determining, using the at least one ML model, for each of the set of semantically similar documents,
a respective set of similar paragraphs based on associated paragraph representations thereof,
a respective set of similar sentences based on associated sentence representations thereof, and
a respective set of similar words based on associated word representations thereof;
generating, for display on a display interface of the client device, the interactive search interface comprising the set of semantically similar documents;
receiving, from the client device, a selection of a given document of the set of semantically similar documents; and
generating, for display on the interactive search interface at the client device, an indication of each of the respective set of similar paragraphs, the respective set of similar sentences, and the respective set of similar words associated with the given document.