Chapter 7. Interfacing LLMs with External Tools

In order to effectively harness the power of LLMs in your organization, they have to be integrated into the existing data and software ecosystem. Unlike traditional software components and data stores, LLMs can generate autonomous actions to interact with other components of the ecosystem, thus bringing a degree of flexibility never seen before in the world of software. This flexibility unlocks a whole host of use cases that were previously considered impossible.

There is another reason why we need LLMs to interact with software and external data. As we know too well, current LLMs have significant limitations, some of which we discussed in Chapter 1. To recap some key points:

  • Since it is expensive to retrain LLMs or keep them continuously updated, they have a knowledge cutoff date and thus possess no knowledge of more recent events.

  • Most LLMs perform poorly at mathematical operations ...

Get Designing Large Language Model Applications 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.