Closed Bug 2026396 Opened 2 months ago Closed 1 month ago

Make table instructions configurable via pref

Categories

(Core :: Machine Learning: General, task)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: bjohns, Assigned: bjohns)

References

Details

(Whiteboard: [genai][models])

Attachments

(1 file)

Currently - models are instructed not to produce markdown tables as part of the system prompt (chat feature).

We want to allow the user to configure these instructions using a pref.

In this patch - we need to:

  1. move table instructions out of system prompt and replace them with {tableInstructions}
  2. add chat_no_table_instructions prompt type
  3. [Optionally] add chat_table_instructions prompt type
  4. Update MC code to check pref and hydrate system prompt (chat prompt) based on the pref value

The Bugbug bot thinks this bug should belong to the 'Core::Machine Learning: General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Machine Learning: General
Product: Firefox → Core
Assignee: nobody → bjohns
Status: NEW → ASSIGNED
Pushed by bjohns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/019c837a1820 https://hg.mozilla.org/integration/autoland/rev/60cf095bce95 Moved table instructions out of system prompt and configurable via pref r=ai-models-reviewers,ai-frontend-reviewers,tzhang
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Blocks: 2027029
QA Whiteboard: [qa-triage-done-c153/b152]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: