Table of Contents
___________________________________________
- What is a prompt
- What is Prompt Engineering
- Examples of Prompts for Academic Research
- Zero Shot, One shot & Few shots Prompting
- How to Write Prompts for Image Generation
- How to Reference / Cite an Image Created by AI
Alternatives
(1) Instead of crafting your own prompts, take advantage of the guided conversations provided by AI language models and AI-assisted academic databases, which are designed to direct users to the most relevant information.
(2) Some language models also disclose the prompts used in their Chain of Thought (CoT) reasoning or synthesis processes. Users can examine the reasoning steps in action and adjust their own prompts accordingly such as using the search "Edit Plan" in Perplexity or entering the revised prompts manually.
___________________________________________
A prompt is a set of instructions used to ask a language model to perform a task. Tasks can take many forms including text generation, image creation, translation, summarizing, writing and so on. A prompt might consist of a few words, a single sentence or even extended paragraphs.
Prompt Engineering involves crafting instructional prompts for AI in order to produce the most useful outcomes. It usually comprises two primary elements: the system prompt, which establishes the static context through role specification, and the dynamic context, which provides additional context tailored to a specific task.
System Prompt: Static Context -- is the initial context given to a language model. It frames the overall topic and the goal of the task. It serves as the starting point. It usually explains the roles of both AI and the User in the task. With a given role the AI model knows whether it should act as a knowledgeable assistant or any other specific character.
User: I am a college student preparing for a debate on artificial intelligence's impacts on employment. Please provide a step-by-step guide to help me get started. AI: Certainly. ...
Or try this one:
User: I am preparing a college debate on AI's impacts on job market. My argument is that AI will lead to job loss. Please provide an outline down to second-level headings. AI: Certainly. ...
Query: Specification -- is the prompt that further guides the AI's response by providing specific queries or additional context, scope and boundaries or other details related to the initial system prompt. They can refine or redirect the focus of the conversation.
User: Please find some academic papers on the various ways that AI is affecting the job market. Compile a list of primary opposing viewpoints: AI leads to job reduction, and AI has the potential to generate new employment opportunities.
AI: Of course! . ......
Example: Illustration -- Providing example inputs can help the model understand the desired patterns or formats for its responses. Example inputs may include the use of examples, demonstrations of the expected behavior, a set of relevant keywords or descriptors, the abstract of an interested article, a reference text and so on.
User: I found this paper very helpful. Reference: AI Impact On The Labor Force at Https://arxiv.org/abs/2302.xxxx. Please find a few more studies like this one.
AI: Sure. ......
Outcome: Output Indicator -- Provide any specific expectations or parameters for the response such as the depth of analysis, level of detail, number of words in the output or other requirements.
User: Assist me to finalize the gathered data. Divide them into four parts: Opening Statement, Supporting Arguments, Possible Counterarguments, and Conclusion restating our main points and emphasizing why our team's stance is more convincing.
AI: Absolutely!. ......
______________________________________________________________________________________
Typical Categories of Prompts Utilized in Generative AI Tools
ACTION PROMPTS - To perform a specific task
WH PROMPTS - (what, when, where, who, which, whose, why, how...)
PROMPTS TO SET A SPECIFIC CONTEXT- Generating responses to specific situations or hypothetical scenarios.
IMAGE GENERATION
ACT-AS-AN-EXPERT PROMPT
- Specify a role for ChatGPT to take a question. This is also known as system message prompting.
My first question is "which databases should I use?"
My second question is "what are the relevant subject terms, descriptors and key words?"
My third question is "how to do data extraction?"
............
Please note that the above prompts are merely for illustrative purposes. Actual questions may contain more specific instructions. As an example, for the first question, Could you provide guidance on how to identify relevant publications? Specifically, can you furnish a list of the primary databases and grey literature sources related to my topic?
See other act-as-an-expert examples on Awesome ChatGPT Prompts at https://github.com/f/awesome-chatgpt-prompts
STYLE PROMPTS - Experimenting with different writing styles or tones.
PROMPT THAT INCORPORATES A QUOTATION
Use quotation marks "...." or ">" symbol to indicate a direct quote. You could also use colon mark (:) or hyphen mark (-) for a short quotation.
RELATIONSHIP PROMPTS
DIVIDING A COMPLEX CONCEPT INTO SUBSET PROMPTS
Rather than asking for the complete History of the American Civil War, you could consider creating separate paragraph prompts for different aspects such as the causes of the war, the timeline, the battles and casualties, the ending and resolution, and so on.
FINDING SIMILAR ARTICLES OR PAGES
Find similar articles like this one - [then paste in the abstract ]
Note - Use Bing chat to find papers since real-time web contents are required.
SUMMARIZE / SYNTHESIZE + REFERENCE TEXT
You are an expert researcher, given the following article, please discuss its key findings. Reference: How Large Language Models are Transforming Machine-Paraphrased Plagiarism at https://arxiv.org/abs/2210.03568
You are a programmer troubleshooting code issues. Given the following code snippet, provide a solution for fixing its code errors. Reference: [Enter the codes].
Please read this article and summarize it for me - "Who Should I Trust: AI or Myself? Leveraging Human and AI Correctness Likelihood to Promote Appropriate Trust in AI-Assisted Decision-Making" and then find 5 similar studies and please also summarize each for me.
See more examples under Bing Chat on the main page.
ZERO SHOT, ONE SHOT & FEW SHOTS PROMPTING
Examples as applied to literature search.
HOW TO WRITE PROMPTS FOR IMAGE GENERATION
HOW TO REFERENCE / CITE AN IMAGE CREATED BY AI
TEMPLATE:
Author of the Model. (Year of the version). Name of the model in italics (Version number) [Descriptor]. https://source_address
EXAMPLE:
OpenAI. (2023). DALL-E (Version 2) [Artificial intelligence system]. https://openai.com/dall-e-2
<https://library.nic.bc.ca/c.php?g=713252&p=5295714>
Web Guides and Articles: