How reliable is AI lke ChatGPT in giving you code that you request?

  • mfz@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    It is a conversational tool that can generate decent code if properly prompted but it lacks for the most part enough context. For it to be really useful it has to be able to be trained on my entire project that I’m working with, not just a single file or function.

    What I miss is the ability to “chat with my project”. I.e. have the whole project in the trained context, and then reason about architectural changes, pros and cons, have suggestions for refactoring, help with complex renaming schemes and moving code, etc.

    It would be super interesting to be able to give instructions like:

    • Organise my files by dependency and the logic they implement.
    • Or something like, create web components from common input elements in my html pages.
    • Where is the user auth code implemented?

    Things like that.

    • experbia@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      This would really be extremely helpful, absolutely agree. A mode with less of a view on the details of the code and more with the architecture of it. I wonder if an extension like Codeium could be extended so that only the method signatures and comments and such could be sent in as context so it can reason more generally about your project…