Prompt Engineering: From Foundational to Layered Prompt Architecture