Skip to content

Watermarking / inline annotation of LLM generated content vs prompt content #295

@aindilis

Description

@aindilis

Hi,

I was wondering whether some feature such as the following could be implemented:

  1. Inserting perhaps XML or Org-mode tags indicating the beginning and ending of LLM generated content.

E.g.

Please list all apartment finding sites.

Certainly! Here is a list of apartment sites:

craigslist.org
...

Would become

<llm-prompt>Please list all apartment finding sites.</llm-prompt>

<llm-content model="claude-3-opus">
Certainly! Here is a list of apartment sites:

craigslist.org
...
</llm-content>
  1. Making such context sensitive, so it would use the appropriate tags for the mode, e.g. Org-mode, or comment them out:

(in hypothetical file: apartments.el)

;; <llm-prompt>Please list all apartment finding sites.</llm-prompt>

;; <llm-content model="claude-3-opus">
;; Certainly! Here is a list of apartment sites:
;; 
;; craigslist.org
;; ...
;; </llm-content>

Thanks!

Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions