Prompt Engineering: When to Ask a Human vs. AI