Bijlage 2 - Prompting techniques

Efficient gebruik van AI

Voordat je een LLM gebruikt (chatbot zoals ChatGPT, co-pilot enz.) in het onderzoek of voor schoolopdrachten is het goed om stil te staan wat de voorwaarden zijn voor het gebruik van LLM om zo efficient mogelijk relevante informatie te verkrijgen (zie figuur b2)

Richtlijnen voor LLM gebruik

(#fig:figuur_b2)Richtlijnen voor LLM gebruik

Een prompt is de manier waarop er gecommuniceerd wordt met een large language model (LLM). Hoe beter de instructies hoe groter de kans dat het antwoord aansluit bij de gegeven instructie. Over het algemeen is het een goede gewoonte om je prompts te structureren zoals hieronder zoals hieronder is weergeven. Geef duidelijke korte en volledige instructies:

How to write a prompt?

  • Goal: What do I want from the LLM?
  • Instruction: a specific task or instruction you want the model to perform to achieve the goal (use active verbs, see examples below)
  • Context: external information or additional context that can steer the model to better responses
  • Input Data (to the prompt)
    • Data to be processed
    • An example, for an LLM to learn from
    • Scientific literature to summarize or to extract information from
  • Output Indicator: type or format of the output
    • Writing style (role, coding style, domain specific formats)
    • Level of language
    • Generic / detailed
    • Number of words
    • Output as list
    • Provide a minimum of [number] sources

active verbs: proofread, refine, format, edit, rewrite, correct, review, summarize, extract, organize, analyze, explain, clarify, provide, answer, create, evaluate, design, generate, suggest, write code in [language], troubleshoot, debug