Chapter 8. Patterns to Make the Most of LLMs
LLMs today have some major limitations, but that doesn’t mean your dream LLM app is impossible to build. The experience that you design for users of your application needs to work around, and ideally with, the limitations.
Chapter 5 touched on the key tradeoff we face when building LLM apps: the tradeoff between agency (the capacity to act autonomously) and reliability (the degree to which we can trust its outputs). Intuitively, any LLM application will be more useful to us if it takes more actions without our involvement, but if we let agency go too far, the application will inevitably do things we wish it hadn’t.
Figure 8-1 illustrates this tradeoff.
To borrow a concept from other fields1, we can visualize the trade-off as a frontier ...
Get Learning LangChain now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.