hottub.patents
US 12,724,922 B2#3148925 Most CitedActiveUnited States (USPTO)Utility

Trust layer for large language models

0Forward Citations (#3148925 Global)
0.0/yrCitation Velocity (#3148925 Global)
0.00Citation PageRank (#3148925 Global)
10Prior Art Cited
19Claims (3 Indep. · 16 Dep.)
9Drawings / Sheets

Abstract

A cloud platform may include a model interface that receives from a client and at an interface for accessing a large language model, a prompt for a response from the large language model, and the client is associated with a set of configuration parameters via a cloud platform that supports the interface. The cloud platform may modify, in accordance with the set of configuration parameters, the prompt that results in a modified prompt and transmit, to the large language model, the modified prompt. The cloud platform may receive the response generated by the large language model and provide the response to a model that determines one or more probabilities that the response contains content from one or more content categories. The cloud platform may transmit the response or the one or more probabilities to the client.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.

Claims (19 — 3 Independent, 16 Dependent)

  1. Claim 1Independent Claim

    A method for data processing, comprising: receiving, from a client and at an interface for accessing a large language model, a prompt for a response from the large language model, wherein the client is associated with a set of configuration parameters via a cloud platform that supports the interface; modifying, in accordance with the set of configuration parameters, the prompt that results in a modified prompt; transmitting, to the large language model via a model interface, the modified prompt; receiving, via the model interface, the response to the modified prompt, wherein the response is generated by the large language model; providing the response to a model that determines one or more probabilities that the response contains content from one or more content categories; determining whether the one or more probabilities satisfy a threshold; and transmitting, to the client and based at least in part on determining whether the one or more probabilities satisfy the threshold, the response, an indication of the one or more probabilities, or a combination thereof.

  2. Claim 2Depends on #1

    The method of claim 1, wherein modifying the prompt comprises: determining that the prompt comprises one or more elements of sensitive information; and replacing the one or more elements of sensitive information with one or more respective masking elements.

  3. Claim 3Depends on #2

    The method of claim 2, further comprising: identifying that the response generated by the large language model comprises the one or more respective masking elements; and replacing the one or more respective masking elements in the response with respective elements of the one or more elements of sensitive information, wherein the response that comprises the one or more elements of sensitive information is transmitted to the client.

  4. Claim 4Depends on #2

    The method of claim 2, wherein the one or more elements of sensitive information comprise personally identifiable information (PII), payment card industry (PCI) information, protected health information (PHI), or a combination thereof.

  5. Claim 5Depends on #2

    The method of claim 2, wherein the one or more elements of sensitive information comprise information that is flagged to be masked in accordance with the set of configuration parameters.

  6. Claim 6Depends on #1

    The method of claim 1, wherein modifying the prompt comprises: inserting a first set of characters prior to the prompt to generate the modified prompt, or inserting a second set of characters after the prompt to generate the modified prompt, or inserting the first set of characters prior to the prompt and inserting the second set of characters after the prompt to generate the modified prompt.

  7. Claim 7Depends on #6

    The method of claim 6, wherein the first set of characters, the second set of characters, or both comprise a random sequence of characters, a set of Extensible Markup Language (XML) tags, or a combination thereof.

  8. Claim 8Depends on #1

    The method of claim 1, wherein modifying the prompt comprises: deleting one or more elements of the prompt to generate the modified prompt.

  9. Claim 9Depends on #1

    The method of claim 1, further comprising: logging the one or more probabilities in association with the prompt, the response, or both.

  10. Claim 10Depends on #1

    The method of claim 1, further comprising: obtaining the threshold from the set of configuration parameters.

  11. Claim 11Depends on #1

    The method of claim 1, wherein the one or more content categories comprise toxicity, hate, identity, violence, physical, sexual, profanity, or a combination thereof.

  12. Claim 12Independent Claim

    An apparatus for data processing, 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 client and at an interface for accessing a large language model, a prompt for a response from the large language model, wherein the client is associated with a set of configuration parameters via a cloud platform that supports the interface; modify, in accordance with the set of configuration parameters, the prompt that results in a modified prompt; transmit, to the large language model via a model interface, the modified prompt; receive, via the model interface, the response to the modified prompt, wherein the response is generated by the large language model; provide the response to a model that determines one or more probabilities that the response contains content from one or more content categories; determine whether the one or more probabilities satisfy a threshold; and transmit, to the client and based at least in part on determining whether the one or more probabilities satisfy the threshold, the response, an indication of the one or more probabilities, or a combination thereof.

  13. Claim 13Depends on #12

    The apparatus of claim 12, wherein, to modify the prompt, the one or more processors are individually or collectively operable to execute the code to cause the apparatus to: determine that the prompt comprises one or more elements of sensitive information; and replace the one or more elements of sensitive information with one or more respective masking elements.

  14. Claim 14Depends on #13

    The apparatus of claim 13, wherein the one or more processors are individually or collectively further operable to execute the code to cause the apparatus to: identify that the response generated by the large language model comprises the one or more respective masking elements; and replace the one or more respective masking elements in the response with respective elements of the one or more elements of sensitive information, wherein the response that comprises the one or more elements of sensitive information is transmitted to the client.

  15. Claim 15Depends on #13

    The apparatus of claim 13, wherein the one or more elements of sensitive information comprise personally identifiable information (PII), payment card industry (PCI) information, protected health information (PHI), or a combination thereof.

  16. Claim 16Independent Claim

    A non-transitory computer-readable medium storing code for data processing, the code comprising instructions executable by one or more processors to: receive, from a client and at an interface for accessing a large language model, a prompt for a response from the large language model, wherein the client is associated with a set of configuration parameters via a cloud platform that supports the interface; modify, in accordance with the set of configuration parameters, the prompt that results in a modified prompt; transmit, to the large language model via a model interface, the modified prompt; receive, via the model interface, the response to the modified prompt, wherein the response is generated by the large language model; provide the response to a model that determines one or more probabilities that the response contains content from one or more content categories; determine whether the one or more probabilities satisfy a threshold; and transmit, to the client and based at least in part on determining whether the one or more probabilities satisfy the threshold, the response, an indication of the one or more probabilities, or a combination thereof.

  17. Claim 17Depends on #16

    The non-transitory computer-readable medium of claim 16, wherein the instructions to modify the prompt are executable by the one or more processors to: determine that the prompt comprises one or more elements of sensitive information; and replace the one or more elements of sensitive information with one or more respective masking elements.

  18. Claim 18Depends on #17

    The non-transitory computer-readable medium of claim 17, wherein the instructions are further executable by the one or more processors to: identify that the response generated by the large language model comprises the one or more respective masking elements; and replace the one or more respective masking elements in the response with respective elements of the one or more elements of sensitive information, wherein the response that comprises the one or more elements of sensitive information is transmitted to the client.

  19. Claim 19Depends on #17

    The non-transitory computer-readable medium of claim 17, wherein the one or more elements of sensitive information comprise personally identifiable information (PII), payment card industry (PCI) information, protected health information (PHI), or a combination thereof.

Technical Overview & Description

CROSS REFERENCE The present Application for Patent claims the benefit of and priority to Provisional Patent Application No. 63/537,588, by Harinath et al., entitled “ TRUST LAYER FOR LARGE LANGUAGE MODELS, ” filed Sep. 11, 2023, assigned to the assignee hereof, and is expressly incorporated by reference in its entirety herein FIELD OF TECHNOLOGY The present disclosure relates generally to database systems and data processing, and more specifically to a trust layer for large language models. BACKGROUND A cloud platform (i.e., a computing platform for cloud computing) may be employed by multiple users to store, manage, and process data using a shared network of remote servers. Users may develop applications on the cloud platform to handle the storage, management, and processing of data. In some cases, the cloud platform may utilize a multi-tenant database system. Users may access the cloud platform using various user devices (e.g., desktop computers, laptops, smartphones, tablets, or other computing systems, etc.). In one example, the cloud platform may support customer relationship management (CRM) solutions. This may include support for sales, service, marketing, community, analytics, applications, and the Internet of Things. A user may utilize the cloud platform to help manage contacts of the user. For example, managing contacts of the user may include analyzing data, storing and preparing communications, and tracking opportunities and sales. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 illustrates an example of a data processing system that supports a trust layer for large language models in accordance with aspects of the present disclosure. FIG. 2 shows an example of a computing environment that supports a trust layer for large language models in accordance with aspects of the present disclosure. FIG. 3 shows an example of configurability levels that support a trust layer for large language models in accordance with aspects of the present disclosure. FIG. 4 shows an

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (10)

Non-Patent Literature (10)

  • U.S. Appl. No. 63/508,872, filed May 8, 2023, Lyle; Ruthie D.
  • Dhinakaran Aparna:
  • “
  • Safeguarding LLMs with Guardrails
  • ”
  • , Sep. 1, 2023, pp. 1-21.
  • Gharse Swati:
  • “
  • Introducing Llama 2 on Azure
  • ”