Skip to content

AI Mode search: on by default, a small under-field hint, a field that does not move, and a follow-up that sends nothing #525

Closed

Description

@neuromechanist

From the maintainer's test of AI Mode on test.nemar.org (2026-11-11), following #522 and the three-word rule (#524).

  1. AI Mode is on by default.
    An explicit off is remembered.
    With fewer than three words, a very small line directly under the search field reads "AI Mode is on. Use three or more words to see an AI response.", in place of a note in the panel.
  2. Turning AI Mode on or off must not move the search field.
    The suggestions that appear (the "Try" row) are good to keep, but they get reserved space or a placement that leaves the field where it is, so the page looks settled in both states (light, dark, phone width).
  3. "Ask a follow-up" sends nothing in the reader's name.
    It opens the assistant with the overview as the assistant's reply, through OSA's new OSAChatWidget.seed(text, {mode: 'center'}) (OpenScience-Collective/osa issue filed alongside).
    The text names the search and links the datasets.
    Where the widget has no seed (production's older widget), the button is hidden.

Limit: the text passed to seed is at most 4,000 characters, OSA's RESEED_TURN_MAX_CHARS; seed refuses a longer one. A brief that says 8,000 is wrong. Cap the composed text at 4,000, cutting the picks first, and test it.

Text, from the maintainer's review (2026-11-11):

  • The line under the overview becomes "Written by AI from these search results. Check the dataset before relying on it."
  • The AI Mode disclosure (today the toggle's long title about the search words and the top results' titles and descriptions going to the Open Science Assistant service and an AI model provider) becomes the maintainer's sentence, exactly:
    "When on, AI Mode provides an overview by sending the search results to the Open Science Assistant (OSA)."
    Only "OSA" inside the parentheses is the link (not the full name), to the privacy note, NEMAR's own policy section on the assistant: https://docs.nemar.org/policies/privacy/#the-open-science-assistant (the page the widget's Privacy choices dialog links to on nemar.org).
    It is in a muted color, using the site's muted text token, still visibly a link, with enough contrast in both themes.
    Nothing more.
  • Use the same sentence wherever the disclosure appears: the title, any visible text, and ADR 0032 if it quotes it.

Activity

  1. neuromechanist commented on Nov 11, 2026

    @neuromechanist
    ContributorAuthor

    Merged into staging in #524 (test.nemar.org), with the maintainer's text changes. Left open for the maintainer's check on test.nemar.org. The follow-up uses OpenScience-Collective/osa#732's seed, which is on develop.

  2. neuromechanist commented on Nov 11, 2026

    @neuromechanist
    ContributorAuthor

    Verified by the maintainer on test.nemar.org (2026-11-11). It reaches nemar.org with the next release to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions