• outhouseperilous@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    15 days ago

    No, this isn’t what ‘agents’ do, ‘agents’ just interact with other programs. So like move your mouse around to buy stuff, using the same methods as everything else.

    • Knock_Knock_Lemmy_In@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      14 days ago

      ‘agents’ just interact with other programs.

      If that other program is, say, a python terminal then can’t LLMs be trained to use agents to solve problems outside their area of expertise?

      I just tested chatgpt to write a python program to return the frequency of letters in a string, then asked it for the number of L’s in the longest placename in Europe.

      ‘’‘’

      String to analyze

      text = “Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch”

      Convert to lowercase to count both ‘L’ and ‘l’ as the same

      text = text.lower()

      Dictionary to store character frequencies

      frequency = {}

      Count characters

      for char in text: if char in frequency: frequency[char] += 1 else: frequency[char] = 1

      Show the number of 'l’s

      print(“Number of 'l’s:”, frequency.get(‘l’, 0))

      ‘’’

      I was impressed until

      Output

      Number of 'l’s: 16