Google 《Prompt Engineering v7》# Prompt Engineering Author: Lee Boonstra Google  ## Acknowledgements Content contributors Michael Sherman Yuan Cao /2/e/3/f2e36a0d02d290d979fb4e8519f2fef1/p2_1.jpg) ## Table of contents Introduction.....6 Prompt engineering.....7 LLM output configuration.....8 Output length.....8 Sampling controls Self-consistency.....32 Tree of Thoughts (ToT).....36 ReAct (reason & act).....37 Automatic Prompt Engineering.....40 Code prompting.....42 Prompts for writing code.....42 Prompts for explaining0 码力 | 68 页 | 6.50 MB | 1 年前3
Design Patterns## +24 ## Design Patterns The Most Common Misconceptions (2 of N) ## KLAUS IGLBERGER ## 20 24 September 15 - 20 ## C++ Trainer/Consultant Author of “C++ Software Design” (Co-)Organizer of the Munich b2a240cc83d862dcb67951e72bae578d/p3_1.jpg) Term #3 Bridge Term #4 Design Pattern ## The 2nd in a Row ## Meeting C++ 2023 Design Patterns - the most common misconceptions (1 of n) Klaus Iglberger Term Method Term #3 Bridge Term #4 Design Pattern think-cell  ## Let's again talk about design patterns and virtual functions0 码力 | 136 页 | 7.95 MB | 1 年前3
Prototype your design## Prototype your design! Robert Griesemer dotGo 2016, Paris ## Getting to good software design • Literature is full of design paradigms • Usually involves ○ Design docs Feedback from reviewers • Often a “dry” exercise ☐ No software is created until design is “completed” ## How can we tell if we have a good design? ## Elsewhere, design thinking requires prototyping Try stuff Reframe problems mutation Define appropriate methods on that type A Go implementation allows us to explore our design. ## Key missing feature: Nice notation ### The work-around, accessor methods for multi-dim. index0 码力 | 30 页 | 164.99 KB | 2 年前3
The Roles of Symmetry And Orthogonality In Design## +21 ## The Roles of Symmetry And Orthogonality In Design ## CHARLEY BAY ## The Roles of ## Symmetry And Orthogonality ## I n Design ## “ ## Either you keep self improving, or it's time to move Agenda • Levels of “Knowing” • Role of Symmetry • Role of Asymmetry • Role of Orthogonality • Design Relationships Conclusion What's going on here? ## Levels of "Knowing" ## Understanding jpg) ## • Q: What Does “Design” Provide? ## • Q: What Does “Design” Provide? ## • A: We “Know”: How the structure and behavior achieves a desired result ## • Q: What Does “Design” Provide? • A: Is “obvious”0 码力 | 151 页 | 3.20 MB | 1 年前3
Design Patterns: Facts and Misconceptions## +21 ## Design Patterns: Facts and Misconceptions ## KLAUS IGLBERGER 20 21 October 24-29 C++ Trainer/Consultant Author of the bl $ \text{ze} $ C++ math library (Co-)Organizer of the Munich C++ Klaus Iglberger Phil Nash Watch on YouTube Klaus Iglberger ## Let's talk about Software Design and Design Patterns ## Disclaimer All content is based on personal, subjective impressions and opinions opinions. You may have another opinion, and that is fine! There is no definitive answer in software design. It depends. But that is the reason why it is fun. std::make_unique() ... … improves exception0 码力 | 88 页 | 17.31 MB | 1 年前3
Back to Basics: Design Patterns## Please do not redistribute slides without prior permission ## Back to Basics: Design Patterns Mike Shah, Ph.D. @MichaelShah | mshah.io September 17, 2020 60 minutes | Introductory to Intermediate you to join me is here! Design Patterns are reusable elements of design that may help aid in making software more maintainable, flexible, and extensible. The term 'design patterns' can be traced Four' book Design Patterns, in which common software design patterns were defined and categorized. In this talk, you will learn the fundamentals of the creational, structural, and behavior design patterns0 码力 | 96 页 | 2.10 MB | 1 年前3
The Most Important Design Guideline is TestabilityThe Most Important Design Guideline is Testability ## JODY HAGINS ## +24 ## The Most Important Design Guideline is Testability ## JODY HAGINS ## CppCon 2024 The Most Important Design Guideline is Testability jhagins@dev.null ## CppCon 2024 The Most Important Design Guideline is Testability Jody Hagins jhagins@dev.null ## CppCon 2024 The Most Important Design Guideline is Testability Jody Hagins jhagins@maystreet 5c53524fff05e0f77f/p7_1.jpg) ## NDC 2014 ## Better Software—No Matter What The Most Important Design Guideline The quick brown fox jumps over the lazy dog. Scott Meyers, Ph.D. Software Development0 码力 | 126 页 | 9.11 MB | 1 年前3
Can Data-Oriented-Design be Improved?## +23 ## Can Data-oriented-design be Improved? ## OLLIVIER ROBERGE # Can data-oriented-design be improved? Ollivier Roberge Collège Jean-de-Brébeuf ## A brief historic • 1960s • FORTRAN DoD about? • DoD (“Data oriented design”) • Not about cache lines, nor struct layout (at its core) • From wikipedia: "As a design paradigm, data-oriented-design focuses on optimal transformations ChatGPT  Data-Oriented Design (DOD) is a programming paradigm that focuses on organizing and structuring your code and data to0 码力 | 39 页 | 1.18 MB | 1 年前3
Cache-Friendly Design in Robot Path Planning## Cache-friendly Design in Robot Path Planning ## BRIAN CAIRI 2023 | October ## About Me - This is my first time at CppCon! • Regularly program in C++ for robotics  ## Cache-friendly design ## Cache-friendly design Program design focused on optimizing code by avoiding pathological effects of memory access system. ## Cache-friendly design Modern memory pipelines are so complex you are basically optimizing for the cache - Random person on StackOverflow ## Cache-friendly design Prompt DesignOutput ConfigurationAutomatic Prompt Engineering设计模式依赖结构虚拟函数CRTP模式桥接模式PrototypeDesignSoftware DesignPrototypingGo Language对称性正交性设计关系系统耦合设计优雅设计模式误解设计模式分类设计模式文档设计模式批评创建型结构型行为型Gang of FourTestabilityDesign GuidelineAPISoftware DevelopmentCppCon数据导向设计数据转换程序变换函数式编程性能优化缓存友好的设计路径规划机器人计算机缓存结构内存访问模式DevSecOps容器化安全侧边容器自动化基础设施标准化













