{"id":2696,"date":"2025-06-20T17:37:00","date_gmt":"2025-06-20T17:37:00","guid":{"rendered":"https:\/\/www.edwardramos.com\/?p=2696"},"modified":"2026-05-21T16:34:08","modified_gmt":"2026-05-21T16:34:08","slug":"what-is-prompt-engineering","status":"publish","type":"post","link":"https:\/\/edwardramos.com\/index.php\/2025\/06\/20\/what-is-prompt-engineering\/","title":{"rendered":"What Is Prompt Engineering?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Prompt engineering<\/strong> is the art and science of crafting effective inputs (prompts) to get the best possible outputs from AI models. It\u2019s especially useful when working with tools like <strong>Copilot in Microsoft 365<\/strong>, <strong>Power Platform<\/strong>, or <strong>Azure OpenAI<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Core Concepts<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>Prompt Structure<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A good prompt often includes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Role<\/strong>: Define who the AI should act as (e.g., \u201cAct as a project manager\u2026\u201d).<\/li>\n\n\n\n<li><strong>Task<\/strong>: What you want it to do (e.g., \u201cCreate a summary of this meeting\u2026\u201d).<\/li>\n\n\n\n<li><strong>Context<\/strong>: Provide relevant background (e.g., \u201cThis is for a client in healthcare\u2026\u201d).<\/li>\n\n\n\n<li><strong>Format<\/strong>: Specify the output format (e.g., \u201cGive me a bullet list\u2026\u201d).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Types of Prompts<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Instructional<\/strong>: \u201cSummarize this email.\u201d<\/li>\n\n\n\n<li><strong>Conversational<\/strong>: \u201cWhat are some ways to improve this document?\u201d<\/li>\n\n\n\n<li><strong>Few-shot<\/strong>: Provide examples to guide the model.<\/li>\n\n\n\n<li><strong>Chain-of-thought<\/strong>: Ask the model to reason step-by-step.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Prompt Engineering in Microsoft 365<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Word &amp; Outlook<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Prompt<\/strong>: \u201cRewrite this email to sound more professional and concise.\u201d<\/li>\n\n\n\n<li><strong>Prompt<\/strong>: \u201cGenerate a project proposal based on this outline.\u201d<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Excel<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Prompt<\/strong>: \u201cExplain this formula and suggest improvements.\u201d<\/li>\n\n\n\n<li><strong>Prompt<\/strong>: \u201cCreate a dashboard summarizing this data.\u201d<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Teams &amp; Loop<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Prompt<\/strong>: \u201cSummarize this meeting transcript into action items.\u201d<\/li>\n\n\n\n<li><strong>Prompt<\/strong>: \u201cCreate a collaborative agenda for a weekly sync.\u201d<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Power Platform (Power Automate, Power Apps)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use prompts to:\n<ul class=\"wp-block-list\">\n<li>Generate expressions<\/li>\n\n\n\n<li>Create app logic<\/li>\n\n\n\n<li>Build connectors with natural language<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Be specific<\/strong>: Vague prompts lead to vague answers.<\/li>\n\n\n\n<li><strong>Iterate<\/strong>: Refine your prompt based on the output.<\/li>\n\n\n\n<li><strong>Use examples<\/strong>: Show what you want.<\/li>\n\n\n\n<li><strong>Test across tools<\/strong>: Try prompts in Word, Excel, Power Automate, etc.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Examples<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Goal<\/th><th>Prompt<\/th><\/tr><\/thead><tbody><tr><td>Summarize a document<\/td><td>\u201cSummarize this document in 5 bullet points for executives.\u201d<\/td><\/tr><tr><td>Generate ideas<\/td><td>\u201cGive me 10 creative campaign ideas for a product launch.\u201d<\/td><\/tr><tr><td>Automate a task<\/td><td>\u201cCreate a Power Automate flow that sends a Teams message when a SharePoint file is updated.\u201d<\/td><\/tr><tr><td>Analyze data<\/td><td>\u201cExplain trends in this Excel chart and suggest actions.\u201d<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Prompt engineering is the art and science of crafting effective inputs (prompts) to get the best possible outputs from AI models. It\u2019s especially useful when working with tools like Copilot&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2696","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/posts\/2696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/comments?post=2696"}],"version-history":[{"count":1,"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/posts\/2696\/revisions"}],"predecessor-version":[{"id":2810,"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/posts\/2696\/revisions\/2810"}],"wp:attachment":[{"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/media?parent=2696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/categories?post=2696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edwardramos.com\/index.php\/wp-json\/wp\/v2\/tags?post=2696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}