Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world
perchance·Perchance - Create a Random Text GeneratorbyDaveed

How to get useful work out of the new AI Helper — prompting basics for gen builders

Tips & Tricks

Since the model change, I've seen a lot of "the Helper got dumb" posts. Some of that is real — it's a smaller model, and it's worse at guessing what you meant. But here's the part nobody wants to hear: it mostly answers exactly what you ask now, literally. So the fix is on our side. You have to ask better. Here's how, with examples from actual gen building.

  1. Say what kind of answer you want, not just the topic.

Bad: "What is the data model?" Good: "Explain the data model like I'm five — no code, just the big concept." Also good: "List every field in the data model with one line each saying what it does."

Same topic, totally different answers. The old model guessed which one you wanted. This one won't. Tell it.

  1. Give it the job, not just a question.

Bad: "Look at my generator." Good: "I'm building a card game gen and the cards overlap on my phone. Here's what I see: [describe]. Fix the layout in index.html and don't touch anything else."

The Helper can edit your code and test it live — but only if you tell it what "done" looks like. "Look at my thing" has no done. "Fix X, don't touch Y" does.

  1. One job per message.

Bad: "Add a score counter, make it pretty, and also why is the sound not working on iPhones?" Good (message 1): "Add a score counter that goes up by 1 every time the player clicks the target. Show it top-right." Good (message 2, after that works): "Now the sound doesn't play on my iPhone — here's what happens when I tap..."

Three jobs in one message gets you one answer that does none of them well. Stack small wins instead.

  1. Paste the actual error. All of it.

Bad: "It's broken, it says some error about null." Good: "When I click Generate I get this in the console: [paste the whole thing]. It worked before I added the second list."

The error text is the single most useful thing you can give it. "Something about null" is nothing. Copy-paste is free.

  1. Say what you already tried and what happened.

Bad: "The image won't load." Good: "The image won't load. It's in src/ as art.png, I'm using , and the preview shows a broken image icon. I re-saved the gen already."

This stops it suggesting the five things you already did, and the details usually contain the actual clue.

  1. Tell it your constraints up front.

"I'm not a coder, explain every change in plain English." "Most of my visitors are on phones, so test everything small." "Don't change how it looks, only how it works." Constraints you state once save ten messages of corrections. If you build gens for other people, say so — it changes the advice.

  1. For big builds, make it plan before it touches anything.

"Before you change anything, tell me which files you'll touch and in what order. Wait for me to say go."

This is the highest-leverage trick I know with this model. A wrong plan caught up front costs nothing. A wrong plan caught after twenty edits costs you the afternoon. I make mine do this on anything touching 3+ places.

  1. When it misses, redirect — don't repeat.

Doesn't work: asking the same question again, but angrier. Works: "That's the parts list, I need the big concept." / "That fix changed the colors too — I only want the layout fixed, put the colors back." / "Too technical, say it again with no code words."

Think of it like directing an intern, not interrogating a database. Point at what's wrong with the answer and say what right looks like.

  1. Make it verify its own work.

"After you make the change, reload the preview, check the console for errors, and click through the feature yourself before telling me it's done."

The Helper has a live preview with your actual gen in it. A Helper that checks its work catches its own mistakes. One that just types code and says "done" ships bugs. Ask for the check explicitly and you'll feel the difference immediately.

  1. Keep a standing setup if you build a lot.

If you work on the same gen across many chats, save yourself the preamble: keep a short note (I keep mine in the gen itself) with your rules — how you like answers, your constraints, the stuff you always have to repeat. Paste it at the start of a new chat. Mine tells the Helper to verify everything in the preview, keep answers short, and never touch things I didn't ask about. Thirty seconds of pasting saves the "no, don't do it that way" dance every single session.

The short version: the new Helper is a literalist. Vague in, vague out — except now nothing in the middle rescues you. Specific in, good work out. It's a different skill than before, but it's learnable, and honestly the habits make you better at describing what you want even to humans.

View original on lemmy.world
1

3 replies

lemmy.world

You made some fair points, and I agree that "take what you get" is the reality right now. But honestly, this bad. The whole point of having an AI "assistant in a chat" is to just talk, share an idea, and build things together. I want to communicate, not spend half my time engineering massive prompts, micromanaging its steps, and pointing fingers at every single mistake like I'm babysitting a ten year old text generator. Yes, we can adjust, but we shouldn't pretend that turning a smart assistant into a literalist machine that requires manual guiding is a fun experience. But please don't get me wrong, I'm not just here to criticize. I understand that the developer had to do this because of server costs, and it is a tough situation. I really appreciate everything the dev does for this site, so I guess we all just need to be patient, stop whining, and wait for better days.

1

That's really my whole point. I want to help others make the best use of the AI Helper, because I use it exclusively to create and maintain my gens. I am noticing some of the degradation now, as I get time to create more gens, but it is still better than any alternative overall and in specific ways. Whatever we can do to mitigate the downgrade, I want to let others know about.

1

While I agree that the latest AI Helper change was not an 'upgrade', I also agree that with some adjustment, it still works fine. And when compared to any linked / API driven AI model integrated into your IDE, there is no way any of us should be 'complaining'. If I would use GitHub Copilot at the same rate you can with the AI Helper, you could blow through your monthly token allotment (at GitHub Copilot Pro+ level) in a day or two, so we should be glad about what is being offered and adjust as Daveed mentions.

1

You reached the end