# US 2026/0099678 A1 · User-feedback based prompt tuning for artificial intelligence applications

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

- Number: US 2026/0099678 A1
- Document ID: US20260099678A1
- Status: Published application
- Kind: A1
- Application number: 18/907,005
- Filed: 2024-10-04
- Published: 2026-04-09
- Earliest claimed: 2024-10-04
- Assignees: Salesforce, Inc.
- Applicants: Salesforce, Inc.
- Inventors: Kiran Ramnath; Sitaram Asur; Bin Bi; Regunathan Radhakrishnan; Manjeet Singh
- Web page: https://patentgrep.com/patent/US20260099678A1

## CPC

- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A service may receive, from users of an application that uses a prompt for accessing an LLM, a set of feedback indications associated with a set of responses from the LLM based on the prompt including a set of parameters. The service may transmit, to a first LLM, the set of feedback indications and the set of responses to obtain a set of feedback evaluations. The service may transmit, to a second LLM, the set of feedback evaluations to obtain a summary of the set of feedback evaluations. The service may transmit, to a third LLM, the summary of the set of feedback evaluations and the prompt associated with the set of responses to obtain a set of updated parameters for the prompt. The service may then configure the application to use the prompt with the set of updated parameters for accessing the LLM.

## Claims

### Claim 1

A method for fine-tuning a large language model (LLM) prompt, comprising:
receiving, from a plurality of users of a first application that uses an application-specific LLM prompt for accessing a target LLM, a plurality of feedback indications associated with a plurality of responses from the target LLM based on the application-specific LLM prompt, wherein the application-specific LLM prompt comprises a set of parameters;
transmitting, to a first LLM configured to evaluate feedback, the plurality of feedback indications and the plurality of responses associated with the plurality of feedback indications, wherein transmission of the plurality of feedback indications results in a plurality of feedback evaluations generated by the first LLM;
transmitting, to a second LLM configured to generate summaries, the plurality of feedback evaluations obtained from the first LLM, wherein transmission of the plurality of feedback evaluations results in a summary of the plurality of feedback evaluations generated by the second LLM;
transmitting, to a third LLM configured to fine-tune LLM prompts, the summary of the plurality of feedback evaluations obtained from the second LLM and the application-specific LLM prompt associated with the plurality of responses, wherein transmission of the summary of the plurality of feedback evaluations results in a set of updated parameters for the application-specific LLM prompt; and
configuring the first application to use the application-specific LLM prompt with the set of updated parameters for accessing the target LLM.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, from target LLM associated with the first application, a plurality of updated responses based at least in part on the application-specific LLM prompt of the first application utilizing the set of updated parameters in accordance with a configuration of the first application; and
transmitting, to the plurality of users of the first application and in response to reception of the plurality of updated responses, the plurality of updated responses.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
performing a first training procedure on the first LLM to train the first LLM to evaluate feedback that is associated with respective responses from a respective LLM based on a respective LLM prompt, wherein the first LLM is configured to evaluate feedback based at least in part on the first training procedure;
performing a second training procedure on the second LLM to train the second LLM to generate summaries, wherein the second LLM is configured to generate summaries based at least in part on the second training procedure; and
performing a third training procedure on the third LLM to train the third LLM to fine-tune LLM prompts associated with applications, wherein the third LLM is configured to fine-tune LLM prompts based at least in part on the third training procedure.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
initiating, after receiving the plurality of feedback indications associated with the plurality of responses, an application-specific LLM prompt tuning procedure to update the set of parameters of the application-specific LLM prompt, the application-specific LLM prompt tuning procedure comprising the transmission of the plurality of feedback indications, the transmission of the plurality of feedback evaluations, and the transmission of the summary of the plurality of feedback evaluations.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
receiving, from the plurality of users of the first application, a second plurality of feedback indications associated with a second plurality of responses from the target LLM based on the application-specific LLM prompt, the application-specific LLM prompt utilizing the set of updated parameters based at least in part on configuring the first application, wherein a performance metric associated with the second plurality of feedback indications is less than a performance threshold; and
initiating, in response to receiving the second plurality of feedback indications and the second plurality of feedback indications being less than the performance threshold, the application-specific LLM prompt tuning procedure, wherein the application-specific LLM prompt tuning procedure continues until a respective plurality of feedback indications satisfies the performance threshold.

### Claim 6 (depends on 5)

The method of claim 5, wherein the performance threshold is associated with a threshold quantity of positive feedback indications.

### Claim 7 (depends on 1)

The method of claim 1, wherein receiving the plurality of feedback indications comprises:
receiving, from the plurality of users of the first application, a plurality of positive feedback indications associated with a first subset of responses of the plurality of responses and a plurality of negative feedback indications associated with a second subset of responses of the plurality of responses, the plurality of feedback indications comprising the plurality of positive feedback indications and the plurality of negative feedback indications.

### Claim 8 (depends on 7)

The method of claim 7, wherein transmitting the plurality of feedback indications to the first LLM comprises:
transmitting the plurality of negative feedback indications to the first LLM; and
refraining from transmitting the plurality of positive feedback indications to the second LLM.

### Claim 9 (depends on 1)

The method of claim 1, wherein transmitting the plurality of feedback indications to the first LLM comprises:
identifying, in response to receiving the plurality of feedback indications from the plurality of users, that a threshold is satisfied; and
transmitting, to the first LLM, the plurality of feedback indications based at least in part on satisfaction of the threshold.

### Claim 10 (depends on 9)

The method of claim 9, wherein the threshold comprises a feedback indication quantity threshold associated with a threshold quantity of feedback indications, a time threshold associated with a threshold quantity of time since an update to the set of parameters of the application-specific LLM prompt, or both.

### Claim 11 (depends on 1)

The method of claim 1, wherein transmitting the plurality of feedback indications and the plurality of responses to the first LLM comprises:
completing, for each feedback indication and response associated with the feedback indication, a prompt of the first LLM with a data triple comprising a respective feedback indication, a respective response associated with the respective feedback indication, and the application-specific LLM prompt, wherein the first LLM is configured to evaluate the feedback based at least in part on the prompt of the first LLM and on completion of the prompt of the first LLM.

### Claim 12 (depends on 1)

The method of claim 1, wherein transmitting the plurality of feedback evaluations to the second LLM comprises:
concatenating the plurality of feedback evaluations into a concatenated feedback evaluation input; and
completing a prompt of the second LLM with the concatenated feedback evaluation input, wherein the second LLM is configured to generate the summaries based at least in part on the prompt of the second LLM and on completion of the prompt of the second LLM.

### Claim 13 (depends on 1)

The method of claim 1, wherein transmitting the summary of the plurality of feedback evaluations to the third LLM comprises:
completing a prompt of the third LLM with the summary of the plurality of feedback evaluations, the application-specific LLM prompt, and one or more data triples comprising a respective feedback indication of the plurality of feedback indications, a respective response associated with the respective feedback indication of the plurality of responses, and a respective feedback evaluation of the plurality of feedback evaluations associated with the respective feedback indication and the respective response, wherein the third LLM is configured to fine-tune the LLM prompts based at least in part on the prompt of the third LLM and on completion of the prompt of the third LLM

### Claim 14 (depends on 1)

The method of claim 1, wherein the plurality of users are associated with a first tenant of a plurality of tenants that utilize the first application.

### Claim 15 (depends on 1)

The method of claim 1, wherein the plurality of users utilize a plurality of applications that use respective application-specific LLM prompts for accessing respective target LLMs, the plurality of applications comprising the first application that uses the application-specific LLM prompt for accessing the target LLM.

### Claim 16

An apparatus for fine-tuning a large language model (LLM) prompt, comprising:
one or more memories storing processor-executable code; and
one or more processors coupled with the one or more memories and individually or collectively operable to execute the code to cause the apparatus to:
receive, from a plurality of users of a first application that uses an application-specific LLM prompt for accessing a target LLM, a plurality of feedback indications associated with a plurality of responses from the target LLM based on the application-specific LLM prompt, wherein the application-specific LLM prompt comprises a set of parameters;
transmit, to a first LLM configured to evaluate feedback, the plurality of feedback indications and the plurality of responses associated with the plurality of feedback indications, wherein transmission of the plurality of feedback indications results in a plurality of feedback evaluations generated by the first LLM;
transmit, to a second LLM configured to generate summaries, the plurality of feedback evaluations obtained from the first LLM, wherein transmission of the plurality of feedback evaluations results in a summary of the plurality of feedback evaluations generated by the second LLM;
transmit, to a third LLM configured to fine-tune LLM prompts, the summary of the plurality of feedback evaluations obtained from the second LLM and the application-specific LLM prompt associated with the plurality of responses, wherein transmission of the summary of the plurality of feedback evaluations results in a set of updated parameters for the application-specific LLM prompt; and
configure the first application to use the application-specific LLM prompt with the set of updated parameters for accessing the target LLM.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein, to transmit the plurality of feedback indications and the plurality of responses to the first LLM, the one or more processors are individually or collectively operable to execute the code to cause the apparatus to:
complete, for each feedback indication and response associated with the feedback indication, a prompt of the first LLM with a data triple comprising a respective feedback indication, a respective response associated with the respective feedback indication, and the application-specific LLM prompt, wherein the first LLM is configured to evaluate the feedback based at least in part on the prompt of the first LLM and on completion of the prompt of the first LLM.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein, to transmit the plurality of feedback evaluations to the second LLM, the one or more processors are individually or collectively operable to execute the code to cause the apparatus to:
concatenate the plurality of feedback evaluations into a concatenated feedback evaluation input; and
complete a prompt of the second LLM with the concatenated feedback evaluation input, wherein the second LLM is configured to generate the summaries based at least in part on the prompt of the second LLM and on completion of the prompt of the second LLM.

### Claim 19 (depends on 16)

The apparatus of claim 16, wherein, to transmit the summary of the plurality of feedback evaluations to the third LLM, the one or more processors are individually or collectively operable to execute the code to cause the apparatus to:
complete a prompt of the third LLM with the summary of the plurality of feedback evaluations, the application-specific LLM prompt, and one or more data triples comprising a respective feedback indication of the plurality of feedback indications, a respective response associated with the respective feedback indication of the plurality of responses, and a respective feedback evaluation of the plurality of feedback evaluations associated with the respective feedback indication and the respective response, wherein the third LLM is configured to fine-tune the LLM prompts based at least in part on the prompt of the third LLM and on completion of the prompt of the third LLM 20. A non-transitory computer-readable medium storing code for fine-tuning a large language model (LLM) prompt, the code comprising instructions executable by one or more processors to:
receive, from a plurality of users of a first application that uses an application-specific LLM prompt for accessing a target LLM, a plurality of feedback indications associated with a plurality of responses from the target LLM based on the application-specific LLM prompt, wherein the application-specific LLM prompt comprises a set of parameters;
transmit, to a first LLM configured to evaluate feedback, the plurality of feedback indications and the plurality of responses associated with the plurality of feedback indications, wherein transmission of the plurality of feedback indications results in a plurality of feedback evaluations generated by the first LLM;
transmit, to a second LLM configured to generate summaries, the plurality of feedback evaluations obtained from the first LLM, wherein transmission of the plurality of feedback evaluations results in a summary of the plurality of feedback evaluations generated by the second LLM;
transmit, to a third LLM configured to fine-tune LLM prompts, the summary of the plurality of feedback evaluations obtained from the second LLM and the application-specific LLM prompt associated with the plurality of responses, wherein transmission of the summary of the plurality of feedback evaluations results in a set of updated parameters for the application-specific LLM prompt; and
configure the first application to use the application-specific LLM prompt with the set of updated parameters for accessing the target LLM.
