Processing natural language queries for network-based services

US12505135B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12505135-B2
Application numberUS-202318344698-A
CountryUS
Kind codeB2
Filing dateJun 29, 2023
Priority dateJun 29, 2023
Publication dateDec 23, 2025
Grant dateDec 23, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Systems and methods are provided for a natural language question answering service to provide answers to natural language questions regarding network-based services or computing domains. The natural language question answering service may receive the natural language question from a customer computing device. An aggregator of the natural language question answering service can retrieve passages from search systems based on the question and generate a prompt. A large language model (LLM) of the natural language question answering service may receive the prompt and provide an answer. The answer may be verified by a verifier of the natural language question answering service. Attribution may be applied to the answers and retrieved passages to produce references, inline citations, and similar questions. A watermarking module of the natural language question answering service may watermark the answer if it is verified.

First claim

Opening claim text (preview).

What is claimed is: 1 . A system for processing queries, the system comprising: one or more computing processors and memories configured to execute computer-executable instructions to: receive, from a customer computing device and via a user interface (UI) associated with the customer computing device, a question in natural language text; identify, via an aggregator component of the system and based on the question, supplemental search system information for submission in conjunction with the question to a large language model (LLM) component of the system, wherein the supplemental search system information includes: an open search based index, wherein the open search based index includes one or more documents from a search system based on submission of the received question; and a dense index, wherein the dense index identifies portions of the one or more documents as pertaining to the received question; verify, from the aggregator component of the system, that the supplemental search system information is suitable for submission in conjunction with the question to the LLM component by verification of similarities of the supplemental search system information and the question, wherein verification of similarities of the supplemental search system information and the question comprises determination of whether the supplemental search system information is within a pre-determined minimum similarity by: determining a similarity score characterizing similarities between the supplemental search system information and the question, and identifying the similarities of the supplemental search system information and the question as verified if the similarity score is above the pre-defined minimum similarity; in response to verifying the similarities of the supplemental search system information and the question, generate a prompt based on the received question and including a portion of the verified supplemental search system information; submit the prompt including the portion of the verified supplemental search system information to the LLM component of the system to generate, via the LLM component of the system, one or more answers based on the generated prompt; verify, via a verifier component of the system, that the one or more answers meet a threshold characterization of whether the one or more answers were generated in error to the question, based on a training data set associated with the LLM; in response to verifying that the one or more answers meet the threshold characterization, produce, via an attribution component of the system, one or more of (i) references, (ii) inline citations, or (ii) similar questions to the question, based on the one or more answers and the supplemental search system information; generate, via a watermarking component of the system, a watermarked version of the one or more answers; and send to the UI of the customer computing device, the watermarked version of the one or more answers, the supplemental search system information, and references, inline citations, or similar questions produced by the attribution component. 2 . The system as recited in claim 1 , wherein the one or more answers comprise of at least human readable text. 3 . The system as recited in claim 2 , wherein the watermarked version of the one or more answers is generated by embedding signals into the human readable text such that the embedding signals make the watermarked version of the one or more answers proprietary to the system. 4 . The system as recited in claim 1 , wherein in identifying the one or more documents by the aggregator component, the aggregator is configured to: send, to the search system, requests to retrieve the one or more documents; and receive, from the search system, the one or more documents. 5 . A system for processing queries, the system comprising: one or more computing processors and memories configured to execute computer-executable instructions to: receive, from a customer computing device, a question; identify, via an aggregator component of the system, relevant passages corresponding to search system information for submission in conjunction with the question to a large language model (LLM) component of the system based on the question; verify, from the aggregator component of the system, that the search system information is suitable for submission in conjunction with the question to the LLM component by verification of similarities of the search system information and the question, wherein verification of similarities of the search system information and the question comprises determination of whether the search system information is within a pre-determined minimum similarity by: determining a similarity score characterizing similarities between the relevant passages and the question, and if the similarity score is above the pre-defined minimum similarity, characterizing the similarities of the search system information and the question as verified; in response to verifying that the search system information is suitable for submission in conjunction with the question to the LLM component including the determination of whether the search system information is within a pre-determined minimum similarity, submit a prompt including a portion of the search system information to the LLM component of the system to generate, via the LLM component of the system, one or more answers based on the question and the verified search system information; verify, via a verifier component of the system, that the one or more answers were not generated in error; and in response to verifying that the one or more answers were not generated in error, send to the customer computing device, the verified one or more answers. 6 . The system as recited in claim 5 , wherein the relevant passages are also sent to the customer computing device. 7 . The system as recited in claim 5 , wherein the LLM component comprises of a Retrieval Augmented Generation (RAG) model. 8 . The system as recited in claim 5 , wherein the relevant passages are retrieved by the aggregator from a plurality of search systems, wherein the plurality of search systems are at least one of: a search system configured to provide answers related to network-based storage systems; a search system configured to provide answers related to network-based on-demand code execution systems; a search system configured to provide answers related to network-based database systems; or a search system configured to provide answers related to network-based on demand compute systems. 9 . The system as recited in claim 8 , wherein at least one of the plurality of search systems is configured to provide answers related to questions of customers of network-based systems. 10 . The system as recited in claim 8 , wherein at least one of the plurality of search systems is configured to provide answers related to frequently asked questions (FAQ) pages of network-based systems. 11 . The system as recited in claim 8 , wherein the LLM component is configured to: store information regarding the customers of network-based systems, wherein the information at least describes network-based products the customer are subscribed to and actions taken by the customers regarding the network-based products; and train a machine learning model of the LLM with the stored customer information to identify patterns of actions of the customers regarding the network-based products. 12 . The system as recited in claim 5 , wherein the verifier component further comprises of: a textual overlap module; a textual natural language inference module; a relational natural language inference module

Assignees

Inventors

Classifications

  • Presentation of query results · CPC title

  • Natural language query formulation · CPC title

  • G06N20/00Primary

    Machine learning · CPC title

  • Semantic analysis · CPC title

  • using natural language analysis · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12505135B2 cover?
Systems and methods are provided for a natural language question answering service to provide answers to natural language questions regarding network-based services or computing domains. The natural language question answering service may receive the natural language question from a customer computing device. An aggregator of the natural language question answering service can retrieve passages…
Who is the assignee on this patent?
Amazon Tech Inc
What technology area does this patent fall under?
Primary CPC classification G06N20/00. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 23 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).