ISO/IEC 42001:2023 (AIMS)
Lead Auditor Course
Ref No: AIMSLA/01 v1.0
10.07.2024
Module 9
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 2
Prompt Engineering
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 3
Prompt Engineering
The concept
Prompt engineering in the field of artificial intelligence (AI) refers to the systematic design, refinement, and
optimization of prompts used to guide language models.
• These language models are generative AI systems that produce human-like text. By carefully
constructing prompts or inputs for AI models, prompt engineers enhance their performance on
specific tasks and desired outputs
Prompt engineering is the process of structuring an instruction that can be interpreted and understood by a
generative AI model. A prompt is natural language text describing the task that an AI should perform.
A prompt can contain information like the instruction or question that is passed to the model and include
other details such as context, inputs, or examples. These elements can be used to instruct the model more
effectively to improve the quality of results.
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 4
Prompt Engineering
The concept
Prompt engineering is a crucial process for improving the output of AI models. It involves crafting well-
structured prompts to guide generative AI models like ChatGPT, DALL-E, and Gemini.
Prompt engineering is essential because the quality and accuracy of AI-generated information depend on
the input provided.
By fine-tuning prompts, AI models can be guided to produce more relevant and context-aware results
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 5
Prompt Engineering
The concept
A simple prompt :
Prompt: The sun Output: sets in west
is hot
bright
The sun sets in west
Is the sun hot or cold? hot
Sun is dark or bright? Bright
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 6
Prompt Engineering
The concept
A simple example of prompt and improved prompt :
Prompt: Write a short paragraph on power-saving methods
Output: The AI generates a generic paragraph
An improved prompt may look like this:
Prompt: Write a 200-word paragraph for beginners about the basics of energy-saving.
Include 4 tips in a list format on reducing waste and conserving energy
Output: The AI now provides a more meaningful and relevant response tailored to the
specific request
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 7
Prompt Engineering
The typical steps in prompt engineering
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 8
Prompt Engineering
Tips for effectively designing prompts
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 9
Prompt Engineering
Prompt Engineer Role
Designing and Developing Prompts:
• Creates well-crafted prompts that guide AI models in generating effective solutions or responses.
• These prompts serve as input cues for the AI model, helping it understand the context and generate
relevant content.
Training AI Models:
• Prompt Engineers work closely with machine learning engineers and data scientists.
• They train AI models by fine-tuning them on specific tasks using the designed prompts.
• This involves adjusting model parameters, selecting appropriate training data, and optimizing
performance.
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 10
Prompt Engineering
Prompt Engineer Role
Assessing AI Responses:
• After training, the Prompt Engineer evaluates the AI-generated responses.
• They analyze the quality, coherence, and relevance of the output.
• If necessary, they iterate on the prompts or adjust model settings to improve performance.
Staying Up-to-Date:
• Prompt Engineers keep abreast of new research, techniques, and advancements in the field.
• They continuously refine their prompt design strategies to enhance AI model training.
A Prompt Engineer plays a pivotal role in shaping how AI models understand and respond to various tasks. It’s a
blend of creativity, technical expertise, and problem-solving.
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 11
Any Questions?
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 12
Thank you!
Follow us on:
[Link]
info@[Link]
ISO/IEC 42001:2023 (AIMS) Lead Auditor Course | Ed 2024 Rev 0 2024-07-11 13