[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-703295-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-703295-en":130,"doc-similar-703295":168},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","prompt-engineering-best-practices-for-llms-on-amazon-bedrock","Prompt engineering best practices for LLMs on Amazon Bedrock","","Prompt engineering best practices for LLMs on Amazon Bedrock presents a structured agenda covering what prompt engineering is, practical prompt techniques, and system designs around generative AI and prompt engineering. It demonstrates core concepts through examples such as basic arithmetic question handling and “fun parts” persona behavior, where identical user questions yield different answers. The material then introduces simple prompting approaches, including one-shot and few-shot prompting, with concrete assistant outputs for tasks like generating airport codes and classifying tweet sentiment.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/prompt-engineering-best-practices-for-llms-on-amazon-bedrock/703295/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/prompt-engineering-best-practices-for-llms-on-amazon-bedrock/703295.png","ImageObject",300,407,{"name":42,"@type":43},"Rizky","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-19","2026-11-13",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is prompt engineering in the context of LLMs on Amazon Bedrock?","Question",{"text":63,"@type":64},"Prompt engineering focuses on crafting inputs so an LLM can follow instructions and produce the desired outputs reliably. The agenda frames it as a set of techniques and system design considerations for generative AI.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do one-shot prompting and few-shot prompting differ?",{"text":68,"@type":64},"One-shot prompting provides a single example to guide the assistant’s response for a new task. Few-shot prompting includes multiple examples to better shape the model’s behavior before generating the final output.",{"name":70,"@type":61,"acceptedAnswer":71},"Why can the same user question produce different answers?",{"text":72,"@type":64},"The document’s “Prompt Engineering – Persona” example shows that using different prompting context can lead to drastically different answers even when the end user asks the same question.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},703295,1794567308,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":101,"preview_urls":145},962085564807,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","A I M 3 7 7  \nPrompt engineering best practices for LLMs on Amazon Bedrock  \nJohn Baker  \nPrincipal Engineer, Amazon Bedrock, AWS  \nNicholas Marwell  \nMember of Technical Staff Anthropic  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nAgenda  \n What is prompt engineering?  \n Prompt techniques  \n System designs around generative AI and prompt engineering  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \n Prompt engineering with Claude from Anthropic  \n Call to action  \nWhat is Prompt Engineering?–An Example  \nWhat is 10 + 10?  \n10 + 10 = 20  \n1 + 1 is an addition problem.  \n1 – 1 is a subtraction problem.  \n1 x 1 is a multiplication problem.  \n1 / 1 is a division problem. What is 10 + 10?  \n10 + 10 is an addition problem  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nPrompt engineering – The fun parts  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nPrompt engineering – The fun parts  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nPrompt engineering – The fun parts  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nPrompt engineering – The fun parts  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nPrompt Engineering – Persona  \nSame exact question from the end user. Two drastically different answers.  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nSimple techniques  \nOne-shot prompting  \nTask is to generate airport codes  \nHuman: \"I want to fly from Los Angeles to Miami”  \nAssistant: Airport codes [LAX, MIA]  \nHuman: \"I want to fly from Dallas to San Francisco”  \nAssistant: Airport codes [  \n© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.  \nFew-shot prompting  \nClassify below tweets as positive, negative or neutral  \nHuman: \"I hate it when my phone battery dies.”  \nAssistant: Sentiment(Negative)  \nHuman: \"My day has been great”:  \nAssistant: Sentiment(Positive)  \nHuman: \"This is the link to the article”:  \nAssistant: Sentiment(Neutral)  \nHuman: {{Tweet}}  \nAssistant: Sentiment(","cbCaipAUd0nitrBF","https://ap.wps.com/l/cbCaipAUd0nitrBF","pdf",1984560,54,"English","# What is prompt engineering?\n## Prompt techniques\n## System designs around generative AI and prompt engineering\n# Prompt engineering with Claude from Anthropic\n# Call to action\n# Prompt Engineering – Persona\n# Simple techniques\n## One-shot prompting\n## Few-shot prompting","[{\"question\":\"What is prompt engineering in the context of LLMs on Amazon Bedrock?\",\"answer\":\"Prompt engineering focuses on crafting inputs so an LLM can follow instructions and produce the desired outputs reliably. The agenda frames it as a set of techniques and system design considerations for generative AI.\"},{\"question\":\"How do one-shot prompting and few-shot prompting differ?\",\"answer\":\"One-shot prompting provides a single example to guide the assistant’s response for a new task. Few-shot prompting includes multiple examples to better shape the model’s behavior before generating the final output.\"},{\"question\":\"Why can the same user question produce different answers?\",\"answer\":\"The document’s “Prompt Engineering – Persona” example shows that using different prompting context can lead to drastically different answers even when the end user asks the same question.\"}]","Prompt engineering best practices for LLMs on Amazon Bedrock | PDF",136,[146,150,153,157,160,164],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-14/af5a28cc902c4964025eeebe6e9a7534.webp",983,552,{"page_no":26,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-14/5ff7f1f23e49391b859f3a231d9d527e.webp",982,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-14/0a64d2fa871cc5dfe2a0406953cc9af2.webp",981,551,{"page_no":33,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-14/e8e9934f36caefd7caf475a6b08ddfaa.webp",980,{"page_no":55,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-14/b70478357513ae5135ae20faf8d21650.webp",979,550,{"page_no":101,"url":165,"width":166,"height":167},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-14/b21c110b9bad7197a5653ffc736760a9.webp",978,549,{"list":169,"token":11},[170,176,183,189,196,202,208,214,220,226],{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":105,"category_name":29,"create_tm":175},672931,"Prompt Engineering - v4 - September 2024","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990223142/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=p9ggpnP0Z0eNgbtLhJic9rwMeiA%3D","prompt-engineering-v4-september-2024",1793615330,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":29,"create_tm":182},692429,"Prompt Engineering - A Guide to Effective Prompting for LLMs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003802725/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=gHPYaF2%2BsfaQ4MSdhdPsF30XZiM%3D","prompt-engineering-a-guide-to-effective-prompting-for-llms",11,1794207678,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":105,"category_name":29,"create_tm":188},721443,"Prompt engineering - An overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024448895/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=l7EZ3Ki4icr8vl%2FINiQnaibYGEY%3D","prompt-engineering-an-overview",1795044863,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":29,"create_tm":195},317371,"AWS Certified AI Practitioner - Cheat Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229908200962/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=4uUbgxqHw68r44zqwDbe0BsLsDE%3D","aws-certified-ai-practitioner-cheat-sheet",55,1789932396,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":105,"category_name":29,"create_tm":201},682228,"KARP Begineer Guide To Ai Prompt - Understanding AI Prompt Engineering: A Complete Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998449348/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=8vQ7NHmtRdVu48es3Jpp3fYeB3M%3D","karp-begineer-guide-to-ai-prompt-understanding-ai-prompt-engineering-a-complete-guide",1793963051,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":110,"category_name":29,"create_tm":207},672932,"Prompt Engineering for AI Product Management","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990223152/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=xYLqJS3TVaaDjwQxg8H5QX%2BBrD8%3D","prompt-engineering-for-ai-product-management",1793615332,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":105,"category_name":29,"create_tm":213},672936,"THE ULTIMATE PROMPT ENGINEERING GUIDE - Master the Language of Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229989932247/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=bL8yX%2FbgniM2HZJ0aunf9mjqYbE%3D","the-ultimate-prompt-engineering-guide-master-the-language-of-large-language-models",1793615343,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":55,"category_name":29,"create_tm":219},721449,"Prompt engineering guidelines for Requirements Engineering - SIG - AIREB booklet - V - 41","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024449929/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=8bmnrsdCplJJFk74HnGiU9hzvEI%3D","prompt-engineering-guidelines-for-requirements-engineering-sig-aireb-booklet-v-41",1795045003,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":55,"category_name":29,"create_tm":225},708131,"AI in Qlik Cloud - Evaluation Guides","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015752415/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=gPLzAGE5cJzq8rVYA1MkXPW8Vj8%3D","ai-in-qlik-cloud-evaluation-guides",1794710021,{"doc_id":227,"doc_title":228,"file_type":137,"home_preview_img_url":229,"slug":230,"view_count":110,"category_name":29,"create_tm":231},692435,"AI Builder - Prompt Builder - A Prompt engineering guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003313937/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=9Zf7X4m3RyHiY7DVMsiIGb1BfN4%3D","ai-builder-prompt-builder-a-prompt-engineering-guide",1794207689]