Open Bug 2005424 Opened 3 months ago Updated 2 months ago

Limit data uris for user messages

Categories

(Core :: Machine Learning: Frontend, task)

task

Tracking

()

People

(Reporter: omarg, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai][chat])

Limit, or filter out, data uris when saving user messages in chat conversations.

https://phabricator.services.mozilla.com/D274644#inline-1503028

From PRD:

Large Copy/Paste Inputs

  • When users copy/paste a large amount (exact number TBD) of text into the chat input box, turn the text into an attachment as context for LLM input.
  • Support emoji and rich formatting such as bullets, bold, italic, etc. Image and other media is out of scope.
  • User can click on the attachment to review the text
  • User can click on the attachment to in-line edit the text
  • Display an error message when input exceeds max limitations
  • Prevent PII being passed into the LLM
Blocks: 1988017
You need to log in before you can comment on or make changes to this bug.