Hi everyone, I’ve been able to get for free a one year subscription at perplexity. It offers to create an AI agent I can save (not sure proper wording, not English native) mainly to help me maintaining, fixing or creating some automations, dashboard items, … To do so I need a prompt that will tell exactly how it should react but since i never really dig into AI yet, I’m looking for some guidance to set it up correctly

  • 18107@aussie.zone
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 day ago

    I don’t believe any AI has the ability to do what you’re asking. AI often fails at the simplest of programming tasks, and even when the output runs, it usually has some major flaws.

    Even if the AI could do what you want, it would take more effort to find the right prompt than to just do the work, and the prompt would be longer than the resulting YAML code.

    You can ask for advice on specific home assistant features, or offer to hire someone to build the interface for you.

    My personal recommendation is to just give it a try. Make a few interfaces and automations, and try downloading and modifying other publicly accessible interfaces and automations until you’re happy with them. The YAML code makes it easy to copy other people’s work, and the non-YAML UI makes it relatively easy to try things without programming knowledge.

    • paf@jlai.luOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      18 hours ago

      Thanks for your answer, I only spend 15-20mn yesterday and have a starting prompt that doesn’t look bad (from my very limited knowledge). Would you be ok to have a look at and tell me what are your thoughts about it?

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    3
    ·
    2 days ago

    Lol. So wait…you want someone to create a prompt interface for your HA for free from Lemmy? That’s a hard sell or ask lolol.

    May wanna ask some other AI thing to do it for you.

    • paf@jlai.luOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      3
      ·
      edit-2
      2 days ago

      Since I almost never used ai, I didn’t know that people gate keep their ai knowledge so thanks for letting me know. I honestly thought it wasn’t a big deal. Also, I didn’t ask for someone to create it but asked for guidance like tips to not miss important details.

      was assuming it was something very general and not specific to my HA like " you will act as a home assistant specialist giving me step by step guide to create automation, dashboard elements…" But by the feel I get from your answer, I guess I’m wrong…

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Building an interface for HA of any kind is a big lift. You have to translate every inference to a set of applicable actions in HA. It’s like building an entire AI. You can’t just say “Here’s some natural language, figure out how to do the thing”.

        Nobody is gatekeeping, it’s just a larger task than you’re seeming to understand. Like “Can someone build a new engine for my car?”

        • paf@jlai.luOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          I obviously don’t realise how much work that is but thanks to you, I started one by asking AI as you recommended (didn’t even think about it, that’s shows how much I’m new to this :D). It isn’t personalised yet to my HA but I think I’m on the right track.