Step 2: Converting Volume to Liters Using a Tool
In the second step of the problem-solving process, the Large Language Model converts the calculated pool volume from cubic meters to liters. It takes the result from the first calculation ( m) and applies the conversion factor of . The arithmetic is formatted alongside an external tool invocation: 80 × 1000 = {tool: calculator, expression: 80*1000} liters. This mechanism ensures the model accurately computes the final water capacity required.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Related
Step 2: Converting Volume to Liters Using a Tool
An LLM is tasked with finding the volume of a rectangular fish tank that is 1.5 meters long, 0.5 meters wide, and 0.6 meters high. To perform the calculation accurately, it needs to format the operation for an external computational tool. Which of the following represents the correct tool invocation string for this calculation?
Deconstructing an LLM's Tool Invocation
An LLM is tasked with calculating the volume of a box with dimensions 12 cm, 5 cm, and 3 cm. It generates the following string to call an external tool:
Volume = {tool: calculator, 12 * 5 * 3}. Why will this tool invocation fail?
Learn After
An LLM is tasked with determining the capacity of a water tank. After an initial step, it has calculated the tank's volume to be 50 cubic meters. For its next step, it needs to convert this volume to liters by calling an external calculator, knowing that 1 cubic meter equals 1000 liters. Which of the following strings correctly formats this specific calculation for the tool?
An AI assistant has calculated a container's volume to be 12.5 cubic meters. To perform the next step of converting this volume to liters (knowing 1 cubic meter = 1000 liters) using an external computational tool, the assistant must generate a specific command string. Complete the expression part of the command string below:
12.5 × 1000 = {tool: calculator, expression: ____}LLM Tool Invocation for Unit Conversion