• bassomitron@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    By having it write a quick function to do so or to sort them alphabetically within the chat? Because I’ve used GPT to write boilerplate and/or basic functions for random tasks like this numerous times without issue. But expecting it to sort a block of text for you is not what LLMs are really built for.

    That being said, I agree that expecting AI to write complex and/or long-form code is a fool’s hope. It’s good for basic tasks to save time and that’s about it.

    • doxxx@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 day ago

      I’ve actually had a fair bit of success getting it to do things like this. Heck I even got it to do some matrix transformations of vectors in a JSON file.

    • BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      22 hours ago

      The tool I use can rewrite code given basic commands. Other times I might say, “Write a comment above each line” or “Propose better names for these variables” and it does a decent job.