Technology: Prompt engineering and refinement