Prompt engineering refers to the different ways you can instruct a gen AI tool.
If you use gen AI for assignments, always apply caution and critically evaluate the output information.
Remember, gen AI is a text-generation tool, NOT a source of credible information.
Check the output against other credible sources for accuracy and verify references (if provided).
Applying a structure to your prompt can produce a more relevant output.
Using RICE as a guide, provide as much context, detail and boundaries as possible:
R - Role
I - Instructions
C - Context
E - Expectations
For a first year law student doing legal research and analysis:
R - Role - 'Act as a first year university student studying law. I am writing advice for a client.'
I - Instructions - Conduct legal research on [legal issue] to facilitate advising client. The response should be written in Australian English, using 150-200 words.
C - Context - Locate and summarise the relevant case law that address [legal issue] in the context of [context]. Identify the circumstances under which the plaintiff may be held liable.
E - Expectation - Provide analysis and conclusions based on your research and highlight the important points for inclusion in the advice. Be concise and accurate. DO NOT hallucinate or respond creatively. If something is unknown, state that it is unknown. DO NOT make it up. Provide links to sources.
Watch: Prompt engineering.
For more detail on prompt engineering see the Academic Skills @ ECU page on Understanding Generative AI.
Prompt engineering for GenAI image generators is similar to engineering for text-based GenAI, except the Context is less important, and the Task and Outcome parts are more visual. Consider:
All this is in addition to the Content.
For example, the prompt:
Can you make me a close-up photo of a clown in a space suit with dramatic lighting
Will be very different to:
Please make a wide-angle image of a clown in a space suit in Cubist style.