Prompt Engineering via Prompt Patterns — Alternative Approaches Pattern
The article is part of series: Prompt Engineering via Prompt Patterns
You can switch to video version of this article
Free AI web copilot to create summaries, insights and extended knowledge, download it at here
2553
Abstract
edium=referral">History in HD</a> on <a href="https://unsplash.com?utm_source=medium&utm_medium=referral">Unsplash</a></figcaption></figure><h1 id="abae">China & International Human Rights</h1><p id="a014">Nonetheless, China has in recent decades increased its engagement with international human rights discourses by investing in human rights research and scholarship.</p><p id="2950">Similarly, international documents on human rights issues are not only translated by Chinese intellectuals ‒ they also receive government support. Despite this, the liberal international order continues to criticize the Chinese government for domestic human rights abuses, rightly so.</p><p id="72cf">Condemnations address the excessive use of capital punishment, the undermining of religious freedoms and freedom of speech, surveillance, and the torture of prisoners, not to mention other areas.</p><p id="c56e">Internationally, China has suffered very few repercussions for their domestic human rights violations; in fact, Pitman B. Potter writes in <i>Assessing Treaty Performance in China</i>, that “China’s official governance” resembles that of “patrimonial sovereignty.”</p><p id="d4e0">In this sovereignty, officials and rulers are held accountable merely to “bureaucratic and political superiors” rather than the rule of law. Inadvertently, China has managed to evade official criticism from the UN’s Commission on Human Rights.</p><p id="d1fe">As of 2019, the Global Coalition urged the UN to address growing concerns over China’s human rights violations in China from Hong Kong, Tibet, and Xinjiang. The Brussels Liaison at the International Service for Human Rights, Sarah Brooks, argues that the global coalition of 321 civil society groups “for the first time” unites organizations against China.</p><p id="8721">It would not be a stretch to argue that continued pressure on China can result in some political change domestically, perhaps even large-scale changes in government.</p><p id="f93f">However, human rights abuses alone will not create lasting changes in China ‒ we can intuit that from China’s recent conduct in Tiananmen Square.</p><p id="303d">In order for change to occur, a combination of economic misfortune and suppression of rights would have to stifle the government’s ability to lead effectively, leading the people to protest and the government to step down.</p><p id="b251">We may think that the recent scholarship in China on human rights and the related government funding can indicate some future progress. However, this
Options
connection is not so clear for us to be entirely confident.</p><p id="20cc">It seems like we will just have to wait and in the meantime do everything we can as citizens to stay educated and involved in our local politics which then, in turn, influences international politics.</p><p id="ba4c">That is just some brief reflecting on human rights abuses in China. Let me know what you think in the comments!</p><p id="ba14">In <a href="https://jakubferencik.medium.com/the-trade-war-of-the-century-china-vs-the-united-states-40f80a5c3e4d">my next post</a>, I will discuss the <a href="https://jakubferencik.medium.com/the-trade-war-of-the-century-china-vs-the-united-states-40f80a5c3e4d">trade war</a> China and the United States have had since 2018 and some of the developments there! Here’s a link:</p><div id="0218" class="link-block"> <a href="https://jakubferencik.medium.com/the-trade-war-of-the-century-china-vs-the-united-states-40f80a5c3e4d"> <div> <div> <h2>The Trade War of the Century: China vs. the United States</h2> <div><h3>Historically, the term “trade war” has referred to “unusual restrictive measures” issued by at least two states that…</h3></div> <div><p>jakubferencik.medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*eUcOJ7GuEHAtUjrT)"></div> </div> </div> </a> </div><h1 id="d45d">Before you go…</h1><p id="5a9f"><b>🗣 I love connecting with fellow thinkers. Find me on <a href="https://twitter.com/JakubFerencik">Twitter</a>, <a href="https://www.facebook.com/jejjejfercak">Facebook</a>, <a href="https://www.goodreads.com/user/show/17464834-jakub-ferencik">Goodreads</a>, or <a href="https://www.instagram.com/jakub.ferencik.official/">Instagram</a>.</b></p><p id="b559">ALSO, here’s a link to <a href="https://www.amazon.com/Up-Air-Christianity-Atheism-Problems/dp/B08JLHPNK2/ref=sr_1_1?dchild=1&keywords=up+in+the+air+christianity+atheism+and+the+global+problems&qid=1602055234&sr=8-1"><b>MY BOOK</b></a>, “<b>Up in the Air: Christianity, Atheism & the Global Problems of the 21st Century,</b>” if you wish to purchase it! I appreciate the support.</p><p id="f875"><i>I’d love it if you’d share the article on Facebook/Twitter if you want your friends to benefit from it in some way at all.</i></p><p id="fe04"><i>Until next time, keep reflecting!</i></p></article></body>
The article is part of series: Prompt Engineering via Prompt Patterns
You can switch to video version of this article
Whenever we are trying to solve a problem, most often we turn to google and are bombarded with thousands if not millions of results. While going through these pages, you come across a variety of ways people have developed to solve the issue you were searching for. And most of the time, you do find alternative ways of approaching the problem than the one you had in mind.
Large language models, having been fed almost the entire public internet as training data are more than often ‘aware’ of these alternative approaches, just like google is. The difference being google gives you a list of pages, and LLM, like ChatGPT gives you a response when you query them. Now this is ‘a response’ which LLM picked as per its training, which is usually the most frequently mentioned response to similar queries. Now LLM is not perfect and the given response might not be the ideal way of approaching the problem. It always helps to be aware of, and choose the best among carefully considered set of options.
That is where alternative approaches pattern comes into play. As discussed, LLMs have learnt multiple ways to solve the issue similar to one you prompted about.
You just need to unlock those alternatives. So way to go about this is to use key statements like “Within scope X, if there are alternative ways to accomplish the same thing, list the best alternative approaches” Optionally, you can add statements like compare/contrast the pros and cons of each approach, include the original way that I asked, and prompt me for which approach I would like to use. You can also add prefix, “from now on…” to make it a standard way of response from ChatGPT.
Adding scope to the prompt is important to add context for the question, intended outcome/goals and removing any approaches that you already know would be of no value to you.
Similarly the alternative approach must add value to user’s desired outcome for his query. E.g. if he is a software developer trying to upload his application to cloud, the context that which cloud provider is he trying to deploy to, whether he trying to deploy a hobby project or enterprise system, or which programming language his application was built in are important factors to consider and constrain the solution set. Suggesting a tool which costs thousands of dollars to deploy a hobby project would be immediately rejected by the user and hence scope is important so LLM can come up with practical alternative solutions.
If you are using this pattern, chances are you are not aware of alternative solutions to begin with, and when given a list of alternative solutions, you would not be able to tell upfront which is better than the rest.
Having options places an extra burden on user to decide which approach to give preference to compared to the others. Well rather than getting a response and then trying to research each alternative, you can simply add an instruction to ‘compare and contrast the alternatives’ followed by ‘ask me which option to use’.
That would instruct LLM to present you with best alternatives and also provide background information on how do they compare with each other, something that would help your decision making process of which option best fits your particular scenario and what are the pros and cons of choosing this approach over other alternatives.
Usually when a list of best alternatives exist, there is tradeoff involved so having compare and contrast would help you make a more informed decision. You can intervene further by adding instructions that clarify what aspects you would like to weigh more towards like e.g. cost, time, effort, maintenance etc.
If you are evaluating these options to come up with a task for ChatGPT like gather list of names and roles of characters in a story, you can be a good prompt engineer and after deploying the alternative approaches pattern as before so that it lists you alternative approaches to extract names/roles from story, you can add a further instruction to also come up with a prompt for itself (ChatGPT) for each alternative approach. That way you outsource the task you had to do after evaluating the alternative approaches to ChatGPT itself.
Now you would not only be presented with a list of alternative approaches, but that would be followed by individual prompt statements for each approach.
How wonderful. Why not go one step further and add another instruction to ask you which prompt to use so you won’t have to do anything at all. But wait, you still had to evaluate the alternates yourself right? Well if you really want to outsource that to the language model as well, you can prompt it to evaluate the alternative approaches as a domain expert.
Using ‘domain expert’ is fine, but you are really trying to use the persona pattern here so best to be explicit that ‘who’ or which role/persona is doing the evaluation. That would give you even better comparison and evaluation of the alternative approaches suggested initially.
That concludes our coverage of alternative approaches pattern. Let me know your experience using that approach in comments and if the article helped, please give a clap/share. You can also consider subscribing to our YouTube channel as well. Thank you!!!
Next article: Prompt Engineering via Prompt Patterns — Cognitive Verifier Pattern

Ali AslamHow to make chain of thought prompting technique even more reliable using Cot-SC