Prompt registration and reuse
Abstract
An embodiment registers, in a ledger, a plurality of prompt-output pairs, each prompt-output pair in the plurality of prompt-output pairs comprising a prompt to a model and an output from the model, wherein the prompt comprises a text description of a content to be generated by the model, wherein the output comprises the content. An embodiment receives a first prompt, the first prompt comprising a first text description of a first content to be generated by the model. An embodiment selects a selected prompt-output pair from the plurality of prompt-output pairs registered in the ledger, the selected prompt-output pair having a similarity above a threshold similarity to the first prompt. An embodiment causes, using a prompt portion of the selected prompt-output pair, the model to produce a second content, wherein the second content is an improvement over the first content.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A computer-implemented method comprising:
registering, in a ledger, a plurality of prompt-output pairs, each prompt-output pair in the plurality of prompt-output pairs comprising a prompt to a model and an output from the model, wherein the prompt comprises a text description of a content to be generated by the model, wherein the output comprises the content; receiving a first prompt, the first prompt comprising a first text description of a first content to be generated by the model; selecting a selected prompt-output pair from the plurality of prompt-output pairs registered in the ledger, the selected prompt-output pair having a similarity above a threshold similarity to the first prompt; and causing, using a prompt portion of the selected prompt-output pair, the model to produce a second content, wherein the second content is an improvement over the first content.
2 . The computer-implemented method of claim 1 , wherein a prompt-output pair in the plurality of prompt-output pairs further comprises metadata of the prompt-output pair.
3 . The computer-implemented method of claim 1 , wherein the plurality of prompt-output pairs comprises a sequence of prompt-output pairs authored by a user.
4 . The computer-implemented method of claim 1 , wherein causing the model to produce the second content is performed subsequent to determining that using the prompt portion of the selected prompt-output pair is authorized.
5 . The computer-implemented method of claim 1 , further comprising:
causing, responsive to determining that no prompt-output pair from the plurality of prompt-output pairs registered in the ledger has a similarity above a threshold similarity to the first prompt, the model to produce a third content using the first prompt.
6 . The computer-implemented method of claim 5 , further comprising:
registering, in the ledger, a new prompt-output pair, the new prompt-output pair comprising the first prompt and the third content.
7 . A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by a processor to cause the processor to perform operations comprising:
registering, in a ledger, a plurality of prompt-output pairs, each prompt-output pair in the plurality of prompt-output pairs comprising a prompt to a model and an output from the model, wherein the prompt comprises a text description of a content to be generated by the model, wherein the output comprises the content; receiving a first prompt, the first prompt comprising a first text description of a first content to be generated by the model; selecting a selected prompt-output pair from the plurality of prompt-output pairs registered in the ledger, the selected prompt-output pair having a similarity above a threshold similarity to the first prompt; and causing, using a prompt portion of the selected prompt-output pair, the model to produce a second content, wherein the second content is an improvement over the first content.
8 . The computer program product of claim 7 , wherein the stored program instructions are stored in a computer readable storage device in a data processing system, and wherein the stored program instructions are transferred over a network from a remote data processing system.
9 . The computer program product of claim 7 , wherein the stored program instructions are stored in a computer readable storage device in a server data processing system, and wherein the stored program instructions are downloaded in response to a request over a network to a remote data processing system for use in a computer readable storage device associated with the remote data processing system, further comprising:
program instructions to meter use of the program instructions associated with the request; and program instructions to generate an invoice based on the metered use.
10 . The computer program product of claim 7 , wherein a prompt-output pair in the plurality of prompt-output pairs further comprises metadata of the prompt-output pair.
11 . The computer program product of claim 7 , wherein the plurality of prompt-output pairs comprises a sequence of prompt-output pairs authored by a user.
12 . The computer program product of claim 7 , wherein causing the model to produce the second content is performed subsequent to determining that using the prompt portion of the selected prompt-output pair is authorized.
13 . The computer program product of claim 7 , further comprising:
causing, responsive to determining that no prompt-output pair from the plurality of prompt-output pairs registered in the ledger has a similarity above a threshold similarity to the first prompt, the model to produce a third content using the first prompt.
14 . The computer program product of claim 13 , further comprising:
registering, in the ledger, a new prompt-output pair, the new prompt-output pair comprising the first prompt and the third content.
15 . A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising:
registering, in a ledger, a plurality of prompt-output pairs, each prompt-output pair in the plurality of prompt-output pairs comprising a prompt to a model and an output from the model, wherein the prompt comprises a text description of a content to be generated by the model, wherein the output comprises the content; receiving a first prompt, the first prompt comprising a first text description of a first content to be generated by the model; selecting a selected prompt-output pair from the plurality of prompt-output pairs registered in the ledger, the selected prompt-output pair having a similarity above a threshold similarity to the first prompt; and causing, using a prompt portion of the selected prompt-output pair, the model to produce a second content, wherein the second content is an improvement over the first content.
16 . The computer system of claim 15 , wherein a prompt-output pair in the plurality of prompt-output pairs further comprises metadata of the prompt-output pair.
17 . The computer system of claim 15 , wherein the plurality of prompt-output pairs comprises a sequence of prompt-output pairs authored by a user.
18 . The computer system of claim 15 , wherein causing the model to produce the second content is performed subsequent to determining that using the prompt portion of the selected prompt-output pair is authorized.
19 . The computer system of claim 15 , further comprising:
causing, responsive to determining that no prompt-output pair from the plurality of prompt-output pairs registered in the ledger has a similarity above a threshold similarity to the first prompt, the model to produce a third content using the first prompt.
20 . The computer system of claim 15 , further comprising:
registering, in the ledger, a new prompt-output pair, the new prompt-output pair comprising the first prompt and the third content.Join the waitlist — get patent alerts
Track US2025225158A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.