• Byter@lemmy.one
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    2
    ·
    9 months ago

    I’d love a browser-embedded LLM that had access to the DOM.

    “Highlight all passages that talk about yadda yadda. Remove all other content. Convert the dates to the ISO standard. Put them on a number line chart, labeled by blah.”

    That’d be great UX.

    • JoeyJoeJoeJr@lemmy.ml
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      3
      ·
      9 months ago

      You are falling into a common trap. LLMs do not have understanding - asking it to do things like convert dates and put them on a number line may yield correct results sometimes, but since the LLM does not understand what it’s doing, it may “hallucinate” dates that look correct, but don’t actually align with the source.

      • Byter@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Thank you for calling that out. I’m well aware, but appreciate your cautioning.

        I’ve seen hallucinations from LLMs at home and at work (where I’ve literally had them transcribe dates like this). They’re still absolutely worth it for their ability to handle unstructured data and the speed of iteration you get – whether they “understand” the task or not.

        I know to check my (its) work when it matters, and I can add guard rails and selectively make parts of the process more robust later if need be.

    • daed@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      That’s actually fascinating to think about. Would be a fun project to mash something like Blazor Server and an LLM together and allow users to just kindly ask to rewrite the DOM in plain English.

    • body_by_make@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      Arc has an LLM that lets you replace your search functionality with search or ask, where if you type a question it tries to answer it based on the content on the page. Kinda close to what you’re talking about.

      Arc is genuinely trying to use LLMs in their browser in interesting ways.