Processing natural language queries with API calls and API executions

US12554752B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12554752-B2
Application numberUS-202318344747-A
CountryUS
Kind codeB2
Filing dateJun 29, 2023
Priority dateJun 29, 2023
Publication dateFeb 17, 2026
Grant dateFeb 17, 2026

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 configured 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, the question regarding operation of a network-based service associated with a customer corresponding to the customer computing device; form, via an aggregator of the system, supplemental search system results based on the received question, wherein the supplemental search system results include one or more documents and portions of the one or more documents; generate a prompt based on the received question and a portion of the supplemental search system results; obtain information corresponding to the customer's use of the network-based service; pass, to a large language model (LLM) subsystem of the system, the prompt and the information corresponding to the customer's use of the network-based service to generate, via the LLM subsystem, one or more answers, wherein the one or more answers include an application programming interface (API) command to the network-based service; send, to the customer computing device, the one or more answers with the API command with a prompt as to whether the API command should be executed; receive, from the customer computing device, a confirmation to run the API command; and execute the API command against the network-based service. 2 . The system as recited in claim 1 , wherein the one or more answers comprise human readable text. 3 . The system as recited in claim 2 , wherein the supplemental search system results are also sent to the customer computing device. 4 . The system as recited in claim 1 , wherein in forming the one or more documents by the aggregator, 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 a memory storing computer-executable instructions and a processor configured to execute the computer-executable instructions to: receive, from a customer computing device, a question regarding operation of a network-based service associated with a customer corresponding to the customer computing device; form, via an aggregator of the system, relevant passages corresponding to search system results based on the received question; obtain information corresponding to the customer's use of the network-based service; pass, to a large language model (LLM) subsystem of the system, a prompt generated based on the question, the relevant passages, and the information corresponding to the customer's use of the network-based service to generate, via the LLM subsystem, one or more answers, wherein the one or more answers include an application programming interface (API) command to the network-based service; execute the API command on the network-based service to completion; and send to the customer computing device, the one or more answers and a notification of completion of the API command. 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 subsystem comprises 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 include 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 subsystem is configured to: store information regarding the customers of network-based systems, wherein the information at least describes network-based products the customers are subscribed to and actions taken by the customers regarding the network-based products; and train a machine learning model of the LLM subsystem with the stored customers' information to identify patterns of actions of the customers regarding the network-based products. 12 . The system as recited in claim 5 , wherein prior to sending the one or more answers to the customer computing device, the processor is further configured to execute the computer-executable instructions to: 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 search system results. 13 . A computer-implemented method for processing queries, the method comprising: receiving, from a customer computing device, a question regarding operation of a network-based service associated with a customer corresponding to the customer computing device; forming, via an aggregator, relevant passages to retrieve from search system results based on the received question; obtaining information corresponding to the customer's use of the network-based service; passing, to a large language model (LLM) subsystem of the system, a prompt generated based on the question, the relevant passages, and the information corresponding to the customer's use of the network-based service to generate, via a large language model (LLM) subsystem, one or more answers, wherein the one or more answers include an application programming interface (API) command to the network-based service; executing the API command on the network-based service to completion; and sending to the customer computing device, the one or more answers and a notification of completion of the API command. 14 . The computer-implemented method of claim 13 , wherein the relevant passages comprise of: documents, text of the documents, pictures of the documents, or video of the documents. 15 . The computer-implemented method of claim 13 , wherein the relevant passages are also sent to the customer computing device. 16 . The computer-implemented method of claim 13 , wherein the one or more answers comprise human readable text. 17 . The computer-implemented method of claim 13 , wherein the LLM subsystem comprises a Retrieval Augmented Generation (RAG) model. 18 . The computer-implemented method of claim 13 further comprising prior to sending the one or more answers to the customer computing device, generating, via a watermarking module, a watermarked version of the one or more answers, wherein the watermarked version of the one or more answers is generated by embedding signals into human readable text associated with the one or more answers such that the embedding signals make the watermarked version of the one or more answers proprietary to the system. 19 . The computer-implemented method of claim 13 , wherein in forming the relevant passages by the aggregator, the aggregator is configur

Assignees

Inventors

Classifications

  • using natural language analysis · CPC title

  • Remote procedure calls [RPC]; Web services · CPC title

  • Natural language query formulation · 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 US12554752B2 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 G06F16/3344. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 17 2026 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).