• flop_leash_973@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 hours ago

    I tried feeding ChatGPT a Terraform codebase once and asked it to produce an architecture diagram of what the code base would deploy to AWS.

    It got most of the little blocks right for the services that would get touched. But the layout and traffic direction flow between services was nonsensical.

    Truth be told it did do a better job than I thought it would initially.

    • Nighed@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      5 hours ago

      The trick is to split up the tasks into chunks.

      Ask it to identify the blocks.

      Then ask it to identify the connections.

      Then ask it to produce the diagram.

      • Pumasuedeblue@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        5 hours ago

        Which means you just did four things to help the AI which the AI can’t do itself. That makes it a tool: useful in some applications, not useful in others, and constantly requiring a human to properly utilize it.