├── .gitignore ├── prompts ├── 01_07_directional-stimulus.txt ├── 01_03_zero-shot_chain-of-thought.txt ├── 01_04_deep-breath.txt ├── 01_06_tree-of-thought.txt ├── 01_02_zero-shot.txt ├── 01_08_chain-of-density.txt ├── 01_05_generated_knowledge.txt ├── 01_03_few-shot-chain-of-thought.txt ├── 01_02_few-shot.txt └── 01_03_zero-plus-few-shot-chain-of-thought.txt ├── .github ├── CODEOWNERS ├── PULL_REQUEST_TEMPLATE.md ├── workflows │ └── main.yml └── ISSUE_TEMPLATE.md ├── CONTRIBUTING.md ├── NOTICE ├── links.md ├── README.md └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | .tmp 4 | npm-debug.log 5 | -------------------------------------------------------------------------------- /prompts/01_07_directional-stimulus.txt: -------------------------------------------------------------------------------- 1 | Summarize the above in 2-3 sentences based on the hint. 2 | Hint: 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Codeowners for these exercise files: 2 | # * (asterisk) denotes "all files and folders" 3 | # Example: * @producer @instructor 4 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /prompts/01_03_zero-shot_chain-of-thought.txt: -------------------------------------------------------------------------------- 1 | Q: Tracy used a piece of wire 4 feet long to support tomato plants in the garden.The wire was cut into pieces 6 inches long. How many pieces did she obtain? 2 | A: Let's think step by step. First, 3 | -------------------------------------------------------------------------------- /prompts/01_04_deep-breath.txt: -------------------------------------------------------------------------------- 1 | Take a deep breath and work on this problem step-by-step. 2 | 3 | 48 people are riding a bus. On the first stop, 8 passengers get off, and 5 times as many people as the number who got off from the bus get into the bus. On the second stop 21, passengers get off and 3 times fewer passengers get on. How many passengers are riding the bus after the second stop? -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: Copy To Branches 2 | on: 3 | workflow_dispatch: 4 | jobs: 5 | copy-to-branches: 6 | runs-on: ubuntu-latest 7 | steps: 8 | - uses: actions/checkout@v2 9 | with: 10 | fetch-depth: 0 11 | - name: Copy To Branches Action 12 | uses: planetoftheweb/copy-to-branches@v1.2 13 | env: 14 | key: main 15 | -------------------------------------------------------------------------------- /prompts/01_06_tree-of-thought.txt: -------------------------------------------------------------------------------- 1 | Imagine three different experts are answering this question. 2 | All experts will write down 1 step of their thinking, then share it with the group. 3 | Then all experts will go on to the next step, etc. 4 | If any expert realises they're wrong at any point then they leave. 5 | The question is: 6 | 48 people are riding a bus. On the first stop, 8 passengers get off, and 5 times as many people as the number who got off from the bus get into the bus. On the second stop 21, passengers get off and 3 times fewer passengers get on. How many passengers are riding the bus after the second stop? -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | Contribution Agreement 3 | ====================== 4 | 5 | This repository does not accept pull requests (PRs). All pull requests will be closed. 6 | 7 | However, if any contributions (through pull requests, issues, feedback or otherwise) are provided, as a contributor, you represent that the code you submit is your original work or that of your employer (in which case you represent you have the right to bind your employer). By submitting code (or otherwise providing feedback), you (and, if applicable, your employer) are licensing the submitted code (and/or feedback) to LinkedIn and the open source community subject to the BSD 2-Clause license. 8 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2023 LinkedIn Corporation 2 | All Rights Reserved. 3 | 4 | Licensed under the LinkedIn Learning Exercise File License (the "License"). 5 | See LICENSE in the project root for license information. 6 | 7 | Please note, this project may automatically load third party code from external 8 | repositories (for example, NPM modules, Composer packages, or other dependencies). 9 | If so, such third party code may be subject to other license terms than as set 10 | forth above. In addition, such third party code may also depend on and load 11 | multiple tiers of dependencies. Please review the applicable licenses of the 12 | additional dependencies. 13 | -------------------------------------------------------------------------------- /prompts/01_02_zero-shot.txt: -------------------------------------------------------------------------------- 1 | Comment: This pizza is probably the best in town. If you’re looking for thin-crusted goodness, you now know where to go. Five stars. 2 | Comment: I loved the pizza, but the overall dining experience was not great. The floor was dirty and the bathroom didn’t have a change table so I had to change our baby on top of the toilet which is not ideal. 3 | Comment: Why do restaurants never get my order right? I specifically said I wanted the Supreme Vegetarian and to add pepperoni on top. When I arrived to pick up my order, the person at the counter said they had forgotten to add the pepperoni and asked if I could take the pizza anyway. They didn’t even offer a refund. I said I wanted what I ordered and they went back and made a new pizza. No apology, and I had to wait 20 minutes longer than necessary. Not great. 4 | Question: Is this a good restaurant to bring a large family with two babies and people with various dietary restrictions? 5 | -------------------------------------------------------------------------------- /links.md: -------------------------------------------------------------------------------- 1 | # Relevant links from the course 2 | 3 | - [Chain-of-Thought Prompting Elicits Reasoning in Large Language Models](https://arxiv.org/abs/2205.11916) 4 | - [Large Language Models are Zero-Shot Reasoners](https://arxiv.org/abs/2205.11916) 5 | - [Auto-CoT](https://github.com/amazon-science/auto-cot) 6 | - [Large Language Models as Optimizers (Take a deep breath)](https://arxiv.org/abs/2309.03409) 7 | - [Generated Knowledge Prompting for Commonsense Reasoning](https://arxiv.org/abs/2110.08387) 8 | - [Tree of Thoughts: Deliberate Problem Solving with Large Language Models](https://arxiv.org/abs/2305.10601) 9 | - [Large Language Model Guided Tree-of-Thought](https://arxiv.org/abs/2305.08291) 10 | - [Using Tree-of-Thought Prompting to boost ChatGPT's reasoning](https://github.com/dave1010/tree-of-thought-prompting) 11 | - [Guiding Large Language Models via Directional Stimulus Prompting](https://arxiv.org/abs/2302.11520) 12 | - [From Sparse to Dense: GPT-4 Summarization with Chain of Density Prompting](https://arxiv.org/abs/2309.04269) 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 7 | 8 | ## Issue Overview 9 | 10 | 11 | ## Describe your environment 12 | 13 | 14 | ## Steps to Reproduce 15 | 16 | 1. 17 | 2. 18 | 3. 19 | 4. 20 | 21 | ## Expected Behavior 22 | 23 | 24 | ## Current Behavior 25 | 26 | 27 | ## Possible Solution 28 | 29 | 30 | ## Screenshots / Video 31 | 32 | 33 | ## Related Issues 34 | 35 | -------------------------------------------------------------------------------- /prompts/01_08_chain-of-density.txt: -------------------------------------------------------------------------------- 1 | Article: {{ ARTICLE }} 2 | You will generate increasingly concise, entity-dense summaries of the above Article. 3 | Repeat the following 2 steps 5 times. 4 | Step 1. Identify 1-3 informative Entities ("; " delimited) from the Article which are missing from the previously generated summary. 5 | Step 2. Write a new, denser summary of identical length which covers every entity and detail from the previous summary plus the Missing Entities. 6 | A Missing Entity is: 7 | - Relevant: to the main story. 8 | - Specific: descriptive yet concise (5 words or fewer). 9 | - Novel: not in the previous summary. 10 | - Faithful: present in the Article. 11 | - Anywhere: located anywhere in the Article. 12 | Guidelines: 13 | - The first summary should be long (4-5 sentences, ~80 words) yet highly non-specific, containing little information beyond the entities marked as missing. Use overly verbose language and fillers (e.g., "this article discusses") to reach ~80 words. 14 | - Make every word count: rewrite the previous summary to improve flow and make space for additional entities. 15 | - Make space with fusion, compression, and removal of uninformative phrases like "the article discusses". 16 | - The summaries should become highly dense and concise yet self-contained, e.g., easily understood without the Article. 17 | - Missing entities can appear anywhere in the new summary. 18 | - Never drop entities from the previous summary. If space cannot be made, add fewer new entities. 19 | 20 | Remember, use the exact same number of words for each summary. 21 | 22 | Answer in JSON. The JSON should be a list (length 5) of dictionaries whose keys are "Missing_Entities" and "Denser_Summary". 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Advanced Prompt Engineering Techniques 2 | This is the repository for the LinkedIn Learning course Advanced Prompt Engineering Techniques. The full course is available from [LinkedIn Learning][URL-lil-course]. 3 | 4 | ![Advanced Prompt Engineering Techniques][URL-lil-thumbnail] 5 | 6 | When developing AI-powered applications, you move beyond conversational prompting to more advanced strategies. In this course we’ll explore advanced prompting techniques and strategies like Chain-of-Thought and Tree-of-Thought, clarifying how they work, what sets them apart, and what they are for. 7 | 8 | ## Instructions 9 | This repository has a folder `/prompts/` containing prompt examples from the course you can copy-and-paste into your preferred AI tool including ChatGPT and Claude. Each example is named for the chapter, video number, and technique it represents. Some videos may have multiple examples. 10 | 11 | There is also a single file `links.md` containing relevant links to academic papers and practical examples explaining the various techniques demonstrated in more detail. While not required reading, they are a good reference if you want a deeper understanding of how these techniques emerged and how they are tested. 12 | 13 | ### Instructor 14 | 15 | Morten Rand-Hendriksen 16 | 17 | Senior Staff Instructor, Speaker, Web Designer, and Software Developer. 18 | 19 | 20 | 21 | 22 | Check out my other courses on [LinkedIn Learning][URL-instructor-home]. 23 | 24 | [URL-lil-course]: https://www.linkedin.com/learning/advanced-prompt-engineering-techniques 25 | [URL-lil-thumbnail]: https://media.licdn.com/dms/image/D4D0DAQH9KTCG05_2Tg/learning-public-crop_675_1200/0/1699395755510?e=2147483647&v=beta&t=FldZTBwFQy-ewhsoejRyfkf-2FZIq0Tku0NOtwEHtAg 26 | [URL-instructor-home]: https://www.linkedin.com/learning/instructors/morten-rand-hendriksen 27 | -------------------------------------------------------------------------------- /prompts/01_05_generated_knowledge.txt: -------------------------------------------------------------------------------- 1 | Input: All dogs are descendants of wolves. 2 | Knowledge: All domestic dogs (Canis lupus familiaris) are descended from wolves (Canis lupus). The domestication of dogs from wolves occurred at least 15,000 years ago, but some estimates put the domestication event at up to 40,000 years ago. Through selective breeding over thousands of years, humans have been able to create a wide variety of dog breeds with a range of behaviors, appearances, and abilities. 3 | Input: Every planet in our solar system has moons. 4 | Knowledge: Not every planet in our solar system has moons. Mercury and Venus, the two planets closest to the sun, do not have any natural moons. The other six planets have a total of 205 known moons among them, with Jupiter and Saturn accounting for the majority of these moons due to their strong gravitational pulls. 5 | Input: Humans can only use 10% of their brain. 6 | Knowledge: The idea that humans only use 10% of their brain is a myth. Neuroimaging scans show activity coursing through the entire organ, even while we are at rest or asleep. Although it's true that at any given moment only a small fraction of the brain's neurons are firing, brain researchers using imaging technology have shown that virtually all parts of the brain have a known function. 7 | Input: The color of the sky is due to the ocean's reflection. 8 | Knowledge: The color of the sky is not due to the reflection of the ocean, but rather due to the scattering of sunlight by the atmosphere. The blue color of the sky is the result of a particular type of scattering called Rayleigh scattering. In the lower atmosphere, tiny oxygen and nitrogen molecules scatter short-wavelength light, such blue and violet light, to a far greater degree than than long-wavelength light, such as red and yellow. However, the violet light is absorbed by the upper atmosphere, which is why the sky appears blue instead of violet. 9 | Input: The pinkie toe has no functional purpose. 10 | Knowledge: -------------------------------------------------------------------------------- /prompts/01_03_few-shot-chain-of-thought.txt: -------------------------------------------------------------------------------- 1 | Q:Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops did Jason give Denny? 2 | A: Jason started with 20 lollipops. Then he had 12 after giving some to Denny. So he gave Denny 20-12=8. The answer is 8. 3 | Q: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many golf balls did he have at the end of wednesday? 4 | A: Michael started with 58 golf balls. After losing 23 on tuesday, he had 58-23=35. After losing 2 more, he had 35-2=33 golf balls. The answer is 33. 5 | Q: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot? 6 | A: There are originally 3 cars. 2 more cars arrive. 3+2=5. The answer is 5. 7 | Q: There were nine computers in the server room. Five more computers were installed each day, from monday to thursday. How many computers are now in the server room? 8 | A: There were originally 9 computers. For each of 4 days, 5 more computers were added. So 5*4=20 computers were added. 9+20 is 29. The answer is 29. 9 | Q: Olivia has 23. She bought five bagels for 3 each. How much money does she have left? 10 | A: Olivia had 23 dollars. 5 bagels for 3 dollars each will be 5x3=15 dollars. So she has 23-15 dollars left. 23-15 is 8. The answer is 8. 11 | Q: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, there will be 21 trees. How many trees did the grove workers plant today? 12 | A: There are 15 trees originally. Then there were 21 trees after some more were planted. So there must have been 21-15=6. The answer is 6. 13 | Q: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does he have now? 14 | A: Shawn started with 5 toys. If he got 2 toys each from his mom and dad, then that is 4 more toys. 5+4=9. The answer is 9. 15 | Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total? 16 | A: Originally, Leah had 32 chocolates. Her sister had 42. So in total they had 32+42=74. After eating 35, they had 74-35=39. The answer is 39. 17 | Q: Tracy used a piece of wire 4 feet long to support tomato plants in the garden.The wire was cut into pieces 6 inches long. How many pieces did she obtain? 18 | A: 19 | -------------------------------------------------------------------------------- /prompts/01_02_few-shot.txt: -------------------------------------------------------------------------------- 1 | Comment: This pizza is probably the best in town. If you’re looking for thin-crusted goodness, you now know where to go. Five stars. 2 | Response: Thank you very much for your kind words and the five-star rating of Morten’s Pizza Emporium! We are elated to hear that you enjoyed our thin-crust pizza and consider it the best in town. At Morten’s Pizza Emporium we strive to provide delicious pizza and it's very rewarding to see our efforts reflected in your experience. We look forward to serving you again soon! 3 | Comment: I loved the pizza, but the overall dining experience was not great. The floor was dirty and the bathroom didn’t have a change table so I had to change our baby on top of the toilet which is not ideal. 4 | Response: Thank you for sharing your feedback about Morten’s Pizza Emporium with us. We are delighted that you enjoyed our pizza, however, we apologize for the inconvenience you experienced due to the cleanliness and the lack of a changing table in the bathroom. At Morten’s Pizza Emporium we take your comments seriously and will address these concerns to improve our overall dining experience. We hope to have the pleasure of serving you again and ensuring a better visit next time. 5 | Comment: Why do restaurants never get my order right? I specifically said I wanted the Supreme Vegetarian and to add pepperoni on top. When I arrived to pick up my order, the person at the counter said they had forgotten to add the pepperoni and asked if I could take the pizza anyway. They didn’t even offer a refund. I said I wanted what I ordered and they went back and made a new pizza. No apology, and I had to wait 20 minutes longer than necessary. Not great. 6 | Response: We appreciate you bringing this issue to our attention and sincerely apologize for the mix-up with your Morten’s Pizza Emporium order and the inconvenience it caused. Ensuring that our customers receive exactly what they ordered is of utmost importance to us, and we are sorry for falling short in this instance. Rest assured, we will work on our ordering and communication processes to prevent such occurrences in the future. We hope you'll give Morten’s Pizza Emporium another chance to serve you and meet your expectations. 7 | Question: Is this a good restaurant to bring a large family with two babies and people with various dietary restrictions? 8 | -------------------------------------------------------------------------------- /prompts/01_03_zero-plus-few-shot-chain-of-thought.txt: -------------------------------------------------------------------------------- 1 | Q:Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops did Jason give Denny? 2 | A: Let's think step by step. Jason started with 20 lollipops. Then he had 12 after giving some to Denny. So he gave Denny 20-12=8. The answer is 8. 3 | Q: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many golf balls did he have at the end of wednesday? 4 | A: Let's think step by step. Michael started with 58 golf balls. After losing 23 on tuesday, he had 58-23=35. After losing 2 more, he had 35-2=33 golf balls. The answer is 33. 5 | Q: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot? 6 | A: Let's think step by step. There are originally 3 cars. 2 more cars arrive. 3+2=5. The answer is 5. 7 | Q: There were nine computers in the server room. Five more computers were installed each day, from monday to thursday. How many computers are now in the server room? 8 | A: Let's think step by step. There were originally 9 computers. For each of 4 days, 5 more computers were added. So 5*4=20 computers were added. 9+20 is 29. The answer is 29. 9 | Q: Olivia has 23. She bought five bagels for 3 each. How much money does she have left? 10 | A: Let's think step by step. Olivia had 23 dollars. 5 bagels for 3 dollars each will be 5x3=15 dollars. So she has 23-15 dollars left. 23-15 is 8. The answer is 8. 11 | Q: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, there will be 21 trees. How many trees did the grove workers plant today? 12 | A: Let's think step by step. There are 15 trees originally. Then there were 21 trees after some more were planted. So there must have been 21-15=6. The answer is 6. 13 | Q: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does he have now? 14 | A: Let's think step by step. Shawn started with 5 toys. If he got 2 toys each from his mom and dad, then that is 4 more toys. 5+4=9. The answer is 9. 15 | Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total? 16 | A: Let's think step by step. Originally, Leah had 32 chocolates. Her sister had 42. So in total they had 32+42=74. After eating 35, they had 74-35=39. The answer is 39. 17 | Q: Tracy used a piece of wire 4 feet long to support tomato plants in the garden.The wire was cut into pieces 6 inches long. How many pieces did she obtain? 18 | A: Let's think step by step. 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | LinkedIn Learning Exercise Files License Agreement 2 | ================================================== 3 | 4 | This License Agreement (the "Agreement") is a binding legal agreement 5 | between you (as an individual or entity, as applicable) and LinkedIn 6 | Corporation (“LinkedIn”). By downloading or using the LinkedIn Learning 7 | exercise files in this repository (“Licensed Materials”), you agree to 8 | be bound by the terms of this Agreement. If you do not agree to these 9 | terms, do not download or use the Licensed Materials. 10 | 11 | 1. License. 12 | - a. Subject to the terms of this Agreement, LinkedIn hereby grants LinkedIn 13 | members during their LinkedIn Learning subscription a non-exclusive, 14 | non-transferable copyright license, for internal use only, to 1) make a 15 | reasonable number of copies of the Licensed Materials, and 2) make 16 | derivative works of the Licensed Materials for the sole purpose of 17 | practicing skills taught in LinkedIn Learning courses. 18 | - b. Distribution. Unless otherwise noted in the Licensed Materials, subject 19 | to the terms of this Agreement, LinkedIn hereby grants LinkedIn members 20 | with a LinkedIn Learning subscription a non-exclusive, non-transferable 21 | copyright license to distribute the Licensed Materials, except the 22 | Licensed Materials may not be included in any product or service (or 23 | otherwise used) to instruct or educate others. 24 | 25 | 2. Restrictions and Intellectual Property. 26 | - a. You may not to use, modify, copy, make derivative works of, publish, 27 | distribute, rent, lease, sell, sublicense, assign or otherwise transfer the 28 | Licensed Materials, except as expressly set forth above in Section 1. 29 | - b. Linkedin (and its licensors) retains its intellectual property rights 30 | in the Licensed Materials. Except as expressly set forth in Section 1, 31 | LinkedIn grants no licenses. 32 | - c. You indemnify LinkedIn and its licensors and affiliates for i) any 33 | alleged infringement or misappropriation of any intellectual property rights 34 | of any third party based on modifications you make to the Licensed Materials, 35 | ii) any claims arising from your use or distribution of all or part of the 36 | Licensed Materials and iii) a breach of this Agreement. You will defend, hold 37 | harmless, and indemnify LinkedIn and its affiliates (and our and their 38 | respective employees, shareholders, and directors) from any claim or action 39 | brought by a third party, including all damages, liabilities, costs and 40 | expenses, including reasonable attorneys’ fees, to the extent resulting from, 41 | alleged to have resulted from, or in connection with: (a) your breach of your 42 | obligations herein; or (b) your use or distribution of any Licensed Materials. 43 | 44 | 3. Open source. This code may include open source software, which may be 45 | subject to other license terms as provided in the files. 46 | 47 | 4. Warranty Disclaimer. LINKEDIN PROVIDES THE LICENSED MATERIALS ON AN “AS IS” 48 | AND “AS AVAILABLE” BASIS. LINKEDIN MAKES NO REPRESENTATION OR WARRANTY, 49 | WHETHER EXPRESS OR IMPLIED, ABOUT THE LICENSED MATERIALS, INCLUDING ANY 50 | REPRESENTATION THAT THE LICENSED MATERIALS WILL BE FREE OF ERRORS, BUGS OR 51 | INTERRUPTIONS, OR THAT THE LICENSED MATERIALS ARE ACCURATE, COMPLETE OR 52 | OTHERWISE VALID. TO THE FULLEST EXTENT PERMITTED BY LAW, LINKEDIN AND ITS 53 | AFFILIATES DISCLAIM ANY IMPLIED OR STATUTORY WARRANTY OR CONDITION, INCLUDING 54 | ANY IMPLIED WARRANTY OR CONDITION OF MERCHANTABILITY OR FITNESS FOR A 55 | PARTICULAR PURPOSE, AVAILABILITY, SECURITY, TITLE AND/OR NON-INFRINGEMENT. 56 | YOUR USE OF THE LICENSED MATERIALS IS AT YOUR OWN DISCRETION AND RISK, AND 57 | YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE THAT RESULTS FROM USE OF THE 58 | LICENSED MATERIALS TO YOUR COMPUTER SYSTEM OR LOSS OF DATA. NO ADVICE OR 59 | INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM US OR THROUGH OR 60 | FROM THE LICENSED MATERIALS WILL CREATE ANY WARRANTY OR CONDITION NOT 61 | EXPRESSLY STATED IN THESE TERMS. 62 | 63 | 5. Limitation of Liability. LINKEDIN SHALL NOT BE LIABLE FOR ANY INDIRECT, 64 | INCIDENTAL, SPECIAL, PUNITIVE, CONSEQUENTIAL OR EXEMPLARY DAMAGES, INCLUDING 65 | BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS, GOODWILL, USE, DATA OR OTHER 66 | INTANGIBLE LOSSES . IN NO EVENT WILL LINKEDIN'S AGGREGATE LIABILITY TO YOU 67 | EXCEED $100. THIS LIMITATION OF LIABILITY SHALL: 68 | - i. APPLY REGARDLESS OF WHETHER (A) YOU BASE YOUR CLAIM ON CONTRACT, TORT, 69 | STATUTE, OR ANY OTHER LEGAL THEORY, (B) WE KNEW OR SHOULD HAVE KNOWN ABOUT 70 | THE POSSIBILITY OF SUCH DAMAGES, OR (C) THE LIMITED REMEDIES PROVIDED IN THIS 71 | SECTION FAIL OF THEIR ESSENTIAL PURPOSE; AND 72 | - ii. NOT APPLY TO ANY DAMAGE THAT LINKEDIN MAY CAUSE YOU INTENTIONALLY OR 73 | KNOWINGLY IN VIOLATION OF THESE TERMS OR APPLICABLE LAW, OR AS OTHERWISE 74 | MANDATED BY APPLICABLE LAW THAT CANNOT BE DISCLAIMED IN THESE TERMS. 75 | 76 | 6. Termination. This Agreement automatically terminates upon your breach of 77 | this Agreement or termination of your LinkedIn Learning subscription. On 78 | termination, all licenses granted under this Agreement will terminate 79 | immediately and you will delete the Licensed Materials. Sections 2-7 of this 80 | Agreement survive any termination of this Agreement. LinkedIn may discontinue 81 | the availability of some or all of the Licensed Materials at any time for any 82 | reason. 83 | 84 | 7. Miscellaneous. This Agreement will be governed by and construed in 85 | accordance with the laws of the State of California without regard to conflict 86 | of laws principles. The exclusive forum for any disputes arising out of or 87 | relating to this Agreement shall be an appropriate federal or state court 88 | sitting in the County of Santa Clara, State of California. If LinkedIn does 89 | not act to enforce a breach of this Agreement, that does not mean that 90 | LinkedIn has waived its right to enforce this Agreement. The Agreement does 91 | not create a partnership, agency relationship, or joint venture between the 92 | parties. Neither party has the power or authority to bind the other or to 93 | create any obligation or responsibility on behalf of the other. You may not, 94 | without LinkedIn’s prior written consent, assign or delegate any rights or 95 | obligations under these terms, including in connection with a change of 96 | control. Any purported assignment and delegation shall be ineffective. The 97 | Agreement shall bind and inure to the benefit of the parties, their respective 98 | successors and permitted assigns. If any provision of the Agreement is 99 | unenforceable, that provision will be modified to render it enforceable to the 100 | extent possible to give effect to the parties’ intentions and the remaining 101 | provisions will not be affected. This Agreement is the only agreement between 102 | you and LinkedIn regarding the Licensed Materials, and supersedes all prior 103 | agreements relating to the Licensed Materials. 104 | 105 | Last Updated: March 2019 106 | --------------------------------------------------------------------------------