Closed Bug 2051359 Opened 2 months ago Closed 1 month ago

ui component for Source Citations for Exa Integration (v1)

Categories

(Core :: Machine Learning: Frontend, enhancement)

enhancement
Points:
3

Tracking

()

VERIFIED FIXED
155 Branch
Tracking Status
firefox154 --- verified
firefox155 --- verified

People

(Reporter: Mardak, Assigned: flozia, NeedInfo)

References

Details

(Whiteboard: [aiasst])

Attachments

(6 files)

Include source attribution in assistant responses that leverage Exa websearch in order to provide users with a more trustworthy and transparently grounded assistant experience.

https://www.figma.com/design/75Z1LtkCEUJWCxoY2KyNHv/Smart-Window-Q2?node-id=5627-172639

the citation explorations have designs for inline after each paragraph or at the end of the response, so we can build a ui component that renders 1 citation or more with a dropdown showing the list

we can use a followup bug to actually link the model output indicating the citation

Depends on: 2044385

sounds like the preferred design is inline citations after each paragraph as opposed to what we do for memories and aggregate to a menu at the bottom of the response. so there'll need to be some paragraph level aggregation (potentially citation mid paragraph or multiple at the end) to show the ui component

Assignee: nobody → fzia
Status: NEW → ASSIGNED
Blocks: 2057237
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3cba2d0f2180 https://hg.mozilla.org/integration/autoland/rev/0d1b20400e35 Revert "Bug 2051359 - Part 3: Add citation component for assistant chat messages r=fluent-reviewers,czhou,bolsson" for causing bc failures at chat-assistant-citations.css

Backed out for causing bc failures at chat-assistant-citations.css
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | checkAllTheFiles - file only referenced from unreferenced files: chrome://browser/content/aiwindow/components/chat-assistant-citations.css referenced from chrome://browser/content/aiwindow/components/chat-assistant-citations.mjs

Flags: needinfo?(fzia)
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1d89fc93290c https://hg.mozilla.org/integration/autoland/rev/8ca3de1be53f Revert "Bug 2051359 - Part 3: Add citation component for assistant chat messages r=fluent-reviewers,czhou,bolsson" for causing bc failures @ chat-assistant-citations
Attachment #9613663 - Attachment description: Bug 2051359 - Part 3: Add citation component for assistant chat messages → Bug 2051359 - Part 3: Add citation component for assistant chat messages r=fluent-reviewers,czhou,bolsson
Blocks: 2062513
Blocks: 2057625
Attachment #9625148 - Flags: approval-mozilla-beta?
Attachment #9625149 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Prerequisite for bug 2053889 and bug 2057237.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: no
  • Risk associated with taking this patch: low
  • Explanation of risk level: Adds a UI component only.
  • String changes made/needed?: Yes
  • Is Android affected?: yes
Attachment #9625150 - Flags: approval-mozilla-beta?

this has string changes, NI l10n team for approval

Flags: needinfo?(bolsson)
Attachment #9625148 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9625149 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Since smart window releases only to two locales and translations exist for the strings, its okay to uplift.

Flags: needinfo?(bolsson)
Attachment #9625150 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed in our latest Release 154.0.1 and our latest Beta 155.0b3

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-done-c156/b155]
QA Contact: rdoghi
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: