stuck while building a small ai tool today

By (@juvo) ·

trying to automate a simple task
basic flow is working

but i get confused when handling different inputs
sometimes it works, sometimes output is wrong

not sure if issue is in my logic or how i am prompting ai

anyone knows what to check at this stage?

Tech stack

  • ChatGPT
  • Claude

Comments (4)

  1. Joshua · · 1 like

    That usually means your inputs aren’t consistent. I’d log every input/output pair and look for patterns in when it breaks.

  2. Lateef · · 1 like

    Could be your prompt isn’t strict enough. Try forcing a very specific output format so the AI has less room to improvise.

  3. Bassey · · 1 like

    Add validation after the AI response. Don’t trust it blindly — check if the output matches what you expect.

  4. viktor · · 1 like

    Try simplifying the task temporarily. If a smaller version works perfectly, then scale back up step by step.

15 likes · 4 comments · 4 views

Explore more on Prompted