6 Activating tool-driven generation

 

This chapter covers

  • Augmenting generation with tools
  • Declaratively defining tools
  • Using methods and functions as tools
  • Providing tool context

When was the last time you visited your doctor? When you were there, did you think about the types of information that the doctor was working with to assess your health?

Doctors go through extensive training to get licensed to practice medicine. During that training they learn the essentials of medicine and physiology. But new discoveries are made frequently and patients present unusual conditions that require doctors to consult the latest research and with other medical professionals to be able to best care for their patients. Even so, no amount of training or medical research can tell the doctor how you feel or what your vital signs are. To better understand your specific situation, the doctor has to measure your vital signs in real-time using tools like thermometers, blood pressure cuffs, and stethoscopes.

6.1 Getting started with AI tools

 
 
 

6.1.1 Developing a tools-enabled application

 
 

6.1.2 Digging deeper

 
 

6.2 Implementing tools

 

6.2.1 Writing the tool’s foundations

 
 
 

6.2.2 Defining the tool

 
 
 
 

6.2.3 Putting the tool to work

 
 
 

6.3 Enables functions as tools

 
 

6.4 Summary

 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage