How can I mock AI in jest - eviltoast

Context: jest is a Javascript testing library, mocking is something you do in test in order not to use production services. AI understood both terms in a none programming context

  • JATth@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    2 months ago

    The point when the AI hallucinations become useful is the point where I raise my eye brows. This not one of those.

    • JustARegularNerd@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      In this case though, it’s not a hallucination, there’s nothing false in that response, it just completely misinterpreted what the user was asking.