<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large;color:#0b5394"><div class="gmail_default"><font size="4">Folks,<br></font></div><div class="gmail_default"><font size="4"><b><br></b></font></div><div class="gmail_default">Remember when <span id="gmail-docs-internal-guid-3177d91a-7fff-ca7d-f12b-1c0e42e05b4b"><span style="font-size:14pt;font-family:Verdana,sans-serif;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;vertical-align:baseline">Conor O'Mahony</span></span> gave his three excellent talks about AI / ML systems?  [see <a href="https://docs.google.com/document/d/1fj8FcfD_e-NEi20O3AL_8fg45DdB136fvyCNl7V2gaM/edit?usp=sharing">https://docs.google.com/document/d/1fj8FcfD_e-NEi20O3AL_8fg45DdB136fvyCNl7V2gaM/edit?usp=sharing</a>] </div><div class="gmail_default"><br></div><div class="gmail_default">One of the topics he talked about was "prompt engineering".</div><div class="gmail_default"><br></div><div class="gmail_default">I interpreted what was said about prompt engineering to refer to the kinds of things we all did with plain old Google to get it to return the kind of results we were after.  </div><div class="gmail_default"><br></div><div class="gmail_default">I recently asked <a href="https://perplexity.ai">https://perplexity.ai </a>the question "<b>What does "prompt engineering" mean in the context of AI search systems?</b>".  I learned that my interpretation was only partially correct.  Instead of being just things an end-user does, prompt engineering is also something that a developer of an AI question/answering system must do to take the query submitted by end-users, and add additional controls to get the AI answer engine to return a reasonable, readable answer.</div><div class="gmail_default"><br></div><div class="gmail_default">One of the references in this response, <a href="https://mitsloanedtech.mit.edu/ai/basics/effective-prompts/">https://mitsloanedtech.mit.edu/ai/basics/effective-prompts/</a>, discusses what an end user should learn to do.  It basically says that this is like learning how to ask questions of an expert who knows a lot about the subject of your query: you can steer the answer to the one you are after if you just ask the question correctly.  To quote from the above reference:</div><div class="gmail_default"><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large;color:#0b5394"><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:Lato,sans-serif;font-size:17px">Prompts are your input into the AI system to obtain specific results. In other words, prompts are conversation starters: what and how you tell something to the AI for it to respond in a way that generates useful responses for you. After that, you can build a continuing prompt, and the AI will produce another response accordingly. It’s like having a conversation with another person, only in this case the conversation is text-based, and your interlocutor is AI.</span><br></div></div></blockquote><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large;color:#0b5394"><div class="gmail_default"><br></div><div class="gmail_default">Below is the answer I got back from Perplexity.  If you want to dig deeper than the Perplexity answer, there are references to source material used in the response.</div><div class="gmail_default"><br></div><div class="gmail_default">Regards,</div><div class="gmail_default"><br></div><div class="gmail_default">-- Harry</div><div class="gmail_default"><font size="4"><b><br></b></font></div><div class="gmail_default"><font size="4"><b><br></b></font></div><div class="gmail_default"><font size="4"><b>What does "prompt engineering" mean in the context of AI search systems?</b></font><font face="verdana, sans-serif" size="4" color="#0b5394"><br></font></div><div class="gmail_default">Prompt engineering is a crucial process in the context of AI search systems, particularly for large language models (LLMs) and generative AI tools. It involves crafting well-structured and effective input queries or instructions to guide AI models in producing desired outputs or responses[1].<br></div><div class="gmail_default"><font face="verdana, sans-serif" size="4" color="#0b5394"><br><b>Definition and Purpose</b><br>Prompt engineering refers to the art and science of designing and optimizing prompts to elicit specific behaviors from AI models[4]. Its primary goal is to bridge the gap between human intention and machine understanding, enabling AI systems to generate accurate, relevant, and contextually appropriate responses[2].<br><br><b>Components of Effective Prompts</b><br><br>1. <b>Instruction</b>: Prompts often require specific and clear requests to receive the desired output[3].<br><br>2. <b>Context</b>: Providing relevant background information helps the AI model understand the task better[3].<br><br>3. <b>Input Data</b>: This includes any necessary information for the AI to process and generate a response[3].<br><br>4. <b>Output Format</b>: Specifying the desired format of the response can improve the accuracy and relevance of the AI's output[3].<br><br><b>Role of Prompt Engineers</b><br>AI prompt engineers serve as intermediaries between machine learning models and human users[3]. Their responsibilities include:<br><br>1. Developing sets of inputs to train models for optimal outputs<br>2. Writing text-based prompts for various tasks (e.g., essay writing, blog post generation)<br>3. Evaluating AI systems for idiosyncrasies<br>4. Training and fine-tuning emerging AI tools<br><br></font><b>What does "prompt engineering" mean in the context of AI search systems?</b><font face="verdana, sans-serif" size="4" color="#0b5394"><br>Prompt engineering plays a vital role in AI search systems by:<br><br>1. <b>Improving Accuracy</b>: Well-crafted prompts lead to more precise and relevant responses from AI models[4].<br>2. <b>Enhancing User Experience</b>: Clear and concise prompts make it easier for users to interact effectively with AI models[4].<br>3. <b>Mitigating Biases</b>: Careful prompt design helps minimize the risk of generating inappropriate or biased content[4].<br>4. <b>Ensuring Consistency</b>: Proper prompting techniques enable more predictable and reliable AI responses[4].<br><br><b>Skills Required for Prompt Engineering</b><br>To excel in prompt engineering, professionals should possess:<br><br>1. Understanding of AI, ML, and Natural Language Processing (NLP)<br>2. Programming skills, particularly in Python<br>3. Strong communication skills<br>4. Knowledge of cognitive psychology and linguistics<br>5. Experience with pre-trained AI models like GPT-3 or GPT-4[3]<br><br>In conclusion, prompt engineering is a critical aspect of AI search systems, focusing on optimizing the interaction between humans and AI models to produce high-quality, relevant, and accurate responses.<br><br>Citations:<br>[1] <a href="https://en.wikipedia.org/wiki/Prompt_engineering">https://en.wikipedia.org/wiki/Prompt_engineering</a><br>[2] <a href="https://www.datastax.com/guides/what-is-prompt-engineering">https://www.datastax.com/guides/what-is-prompt-engineering</a><br>[3] <a href="https://www.techtarget.com/searchenterpriseai/definition/AI-prompt-engineer">https://www.techtarget.com/searchenterpriseai/definition/AI-prompt-engineer</a><br>[4] <a href="https://cloud.google.com/discover/what-is-prompt-engineering">https://cloud.google.com/discover/what-is-prompt-engineering</a><br>[5] <a href="https://www.ibm.com/topics/prompt-engineering">https://www.ibm.com/topics/prompt-engineering</a><br>[6] <a href="https://www.akooda.co/blog/what-is-prompt-engineering">https://www.akooda.co/blog/what-is-prompt-engineering</a><br>[7] <a href="https://researchguides.mvc.edu/ai/prompts">https://researchguides.mvc.edu/ai/prompts</a><br>[8] <a href="https://mitsloanedtech.mit.edu/ai/basics/effective-prompts/">https://mitsloanedtech.mit.edu/ai/basics/effective-prompts/</a></font></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="text-align:left"><br style="color:rgb(34,34,34)"><br style="color:rgb(34,34,34)"><table cellspacing="5" cellpadding="5" style="color:rgb(0,0,0);font-family:verdana;font-size:19.2px;background-color:rgb(238,238,238);margin-left:0px;margin-right:auto"><tbody><tr><td valign="top" style="font-size:10pt;width:306px"><span style="font-family:verdana,sans-serif"><a href="http://www.forsdick.com/resume/" rel="noopener" style="color:rgb(17,85,204)" target="_blank">Harry Forsdick</a><br><a href="http://lexingtonphotoscan.com/" rel="noopener" style="color:rgb(17,85,204)" target="_blank">Lexington Photo Scanning</a><br><a href="http://lexingtontmma.org/" rel="noopener" style="color:rgb(17,85,204)" target="_blank">Town Meeting Member Precinct 7</a><br><a href="https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=harry@forsdick.com" rel="noopener" style="color:rgb(17,85,204)" target="_blank">harry@forsdick.com</a><br></span><a href="http://www.forsdick.com/" rel="noopener" style="color:rgb(17,85,204);font-family:verdana,sans-serif" target="_blank">www.forsdick.com</a><span style="font-family:verdana,sans-serif"><br></span></td><td style="width:15px"><span style="font-family:verdana,sans-serif"> </span></td><td valign="top" style="font-size:10pt;width:179px"><span style="font-family:verdana,sans-serif"><a href="https://goo.gl/xZXT2F" rel="noopener" style="color:rgb(17,85,204)" target="_blank">46 Burlington St.<br>Lexington, MA 02420</a><br><a href="callto:17817996002" rel="noopener" style="color:rgb(17,85,204)" target="_blank">(781) 799-6002 (mobile)</a><br><br><a href="http://forsdick.weebly.com/home/my-websites" rel="noopener" style="color:rgb(17,85,204)" target="_blank">Click</a> to see my websites<br></span></td></tr></tbody></table><table border="0" cellspacing="5" cellpadding="5" style="color:rgb(0,0,0);font-family:verdana;font-size:19.2px;background-color:rgb(238,238,238);margin-left:0px;margin-right:auto;width:552px;border:0px solid black"><tbody><tr style="border:0px solid black"><td valign="top" style="text-align:center;width:532px;border:0px solid black"><center><strong style="color:rgb(17,85,204);font-size:10pt">Lafayette Returns</strong><br><span style="color:rgb(17,85,204);font-size:10pt">200th Anniversary Reenactment</span><br><font size="4" color="#ff0000"><b>----></b></font><span style="color:rgb(17,85,204);font-size:10pt"> September 2, 2024 (Labor Day) 1pm-2pm </span></center><center style="font-size:10pt"><span style="color:rgb(17,85,204)">Lexington Battle Green</span></center></td></tr><tr style="border:0px solid black"><td valign="top" style="text-align:center;font-size:10pt;width:532px;border:0px solid black"><img src="https://forsdick.com/0MyImages/LafayetteReturns.png" width="255" height="258" style="margin-right:0px"><center><span style="color:rgb(17,85,204)"><br>Procession, Lafayette Reenactor, Minute Men, School Children, Bell Ringing,</span></center><center><span style="color:rgb(17,85,204)">Period Costumes, 🔥 Cannon Fire 🔥, and ... cookies shaped like Lafayette</span></center></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>