# US 2026/0093729 A1 · Answer assistance computing system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0093729 A1
- Document ID: US20260093729A1
- Status: Published application
- Kind: A1
- Application number: 19/347,532
- Filed: 2025-10-01
- Published: 2026-04-02
- Earliest claimed: 2024-10-01
- Assignees: Intercom, Inc.
- Applicants: Intercom,Inc.
- Inventors: Pedro TABACOF; Pratik BOTHRA; Edward HELSBY; Fergal Charles REID
- Web page: https://patentgrep.com/patent/US20260093729A1

## CPC

- G06F 16/33295: {in dialogue systems}
- G06F 16/3329: Natural language query formulation
- G06F 16/3344: {using natural language analysis}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technology is disclosed for programmatically generate answers for a user that are responsive to aspects of a conversation. In one implementation, a conversation record is processed to determine a message embedding of a most recent message received. The message embedding is used to determine a semantically similar question embedding of a conversational snippet from a knowledge base. An answer-generation input instruction for a language model is generated based on the most recent message, the conversational snippet, and an answer-format instruction. The language model is directed to produce an answer output, which is presented via a user interface. An answer-augmentation instruction for the language model is generated based on the answer output, similar messages sent by the user based on string similarity with the answer output, and an augmented-answer format instruction. The language model is directed to produce an augmented-answer output, which is presented via the user interface.

## Claims

### Claim 1

A computer-implemented method comprising:
generating a message embedding corresponding to a representation of a most recent message received by a user from a conversation history record;
for a plurality of question and answer (Q&A) pairs determined from previous conversation history records, determining a Q&A pair relevant to the representation of the most recent message based on a computed semantic similarity of the message embedding to a question embedding corresponding to a corresponding question of the Q&A pair;
programmatically generate an answer-generation input instruction for a language model to cause the language model to produce an answer output, the answer-generation input instruction generated based at least on the representation of the most recent message, a corresponding answer of the Q&A pair, and an answer-format instruction;
causing a representation of the answer output to be presented via a user interface (UI) of a computing device; and
causing a representation of an augmented-answer output to be presented via the UI of the computing device by:
for a plurality of messages previously sent by the user, determining a set of messages similar to the answer output, each message having a similarity to the answer output based on a computed string similarity of the message to the answer output; and
programmatically generate an answer-augmentation instruction for the language model to cause the language model to produce the augmented-answer output, the answer-augmentation instruction generated based at least on the answer output, the set of messages, and an augmented-answer format instruction.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the computed semantic similarity of the message embedding to the question embedding is above a threshold semantic similarity and highest ranking semantic similarity of the plurality of Q&A pairs.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the most recent message corresponds to a set of messages received following the last message sent by the user.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the answer-generation input instruction is further generated based on other portions of the conversation history record to provide at least one of context, style, or tone.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the answer-generation input instruction is further generated based on commonly-used greetings extracted from other conversations history records of the user.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the answer-format instruction instruct the language model to include, in the answer output, a citation to the Q&A pair.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the answer-format instruction instruct the language model to include, in the answer output, a citation to a corresponding conversation from which the Q&A pair was extracted.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein determining the set of messages similar to the answer output further comprises:
computing string similarity of each of the plurality of message to the answer output;
ranking the plurality of messages based on the string similarity using a best matching 25 (BM25) algorithm; and
selecting N number of highest ranking messages.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1 wherein the message embedding and the question embedding is determined using Sentence-Bidirectional Encoder Representations from Transformers (SBERT).

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the augmented-answer format instruction comprises instructions to only change the style of the answer output, not the content of the answer output.

### Claim 11

A non-transitory computer-readable medium storing executable instructions, which when executed by a processing device, cause the processing device to perform operations comprising:
generating a message embedding corresponding to a representation of a most recent message received by a user from a conversation history record;
for a plurality of passages within one or more documents in a knowledge base, determining a set of passages relevant to the representation of the most recent message, each passage having a relevance to the representation of the most recent message based on a computed semantic similarity of the message embedding to a passage embedding corresponding to the passage;
programmatically generate an answer-generation input instruction for a language model to cause the language model to produce an answer output, the answer-generation input instruction generated based at least on the representation of the most recent message, the set of passages, and an answer-format instruction;
causing a representation of the answer output to be presented via a user interface (UI) of a computing device; and
causing a representation of an augmented-answer output to be presented via the UI of the computing device by:
for a plurality of messages previously sent by the user, determining a set of messages similar to the answer output, each message having a similarity to the answer output based on a computed string similarity of the message to the answer output; and
programmatically generate an answer-augmentation instruction for the language model to cause the language model to produce the augmented-answer output, the answer-augmentation instruction generated based at least on the answer output and the set of messages.

### Claim 12 (depends on 11)

The media of claim 11, wherein the most recent message corresponds to a set of messages received following the last message sent by the user.

### Claim 13 (depends on 11)

The media of claim 11, wherein the computed semantic similarity of the message embedding to each passage embedding of the set of passages is above a threshold semantic similarity and highest ranking semantic similarity of the plurality of passages.

### Claim 14 (depends on 11)

The media of claim 11, wherein the answer-generation input instruction is further generated based on other portions of the conversation history record to provide at least one of context, style, or tone.

### Claim 15 (depends on 11)

The media of claim 11, wherein the answer-generation input instruction is further generated based on commonly-used greetings extracted from other conversations history records of the user.

### Claim 16 (depends on 11)

The media of claim 11, wherein the answer-format instruction instructs the language model to include, in the answer output, at least a first citation corresponding to at least a first portion of the answer output that is generated using a first passage from the set of passages, the first citation indicating the first passage and a first document that includes the first passage.

### Claim 17 (depends on 11)

The media of claim 11, wherein the answer-format instruction instructs the language model to include, in the answer output, at least a first citation corresponding to at least a first portion of the answer output that is generated using a first passage from the set of passages, the first citation indicating the first passage and a first document that includes the first passage, the first citation includes a direct link to the location of the first passage within the first document comprising a hyperlink, anchor link, URL, or pointer.

### Claim 18 (depends on 11)

The media of claim 11, wherein determining the set of messages similar to the answer output further comprises:
computing string similarity of each of the plurality of message to the answer output;
ranking the plurality of messages based on the string similarity using a best matching 25 (BM25) algorithm; and
selecting N number of highest ranking messages.

### Claim 19 (depends on 11)

The media of claim 11, wherein the message embedding and each embedding of the plurality of passages is determined using Sentence-Bidirectional Encoder Representations from Transformers (SBERT).

### Claim 20

A computing system comprising:
a processor; and
a non-transitory computer-readable medium having stored thereon instructions that when executed by the processor, cause the processor to perform operations including:
accessing a conversation history record;
generating a message embedding corresponding to a representation of a most recent message received by a user from the conversation history record;
for a plurality of question and answer (Q&A) pairs determined from previous conversation history records, determining a Q&A pair relevant to the representation of the most recent message based on a computed semantic similarity of the message embedding to a question embedding corresponding to a corresponding question of the Q&A pair;
programmatically generate an answer-generation input instruction for a language model to cause the language model to produce an answer output, the answer-generation input instruction generated based at least on the representation of the most recent message, a corresponding answer of the Q&A pair, and an answer-format instruction;
causing a representation of the answer output to be presented via a user interface (UI) of a computing device; and
causing a representation of an augmented-answer output to be presented via the UI of the computing device by:
for a plurality of messages previously sent by the user, determining a set of messages similar to the answer output, each message having a similarity to the answer output based on a computed string similarity of the message to the answer output; and
programmatically generate an answer-augmentation instruction for the language model to cause the language model to produce the augmented-answer output, the answer-augmentation instruction generated based at least on the answer output and the set of messages.
