Step 1: Calculating the Pool's Volume Using a Tool
The first step in the Large Language Model's mathematical reasoning process is to calculate the pool's volume. It uses the standard formula for a rectangular prism, Length Width Depth, and formats the operation to incorporate a tool invocation string: 10 m × 4 m × 2 m = {tool: calculator, expression: 10 * 4 * 2} m. This specific syntax prompts an external mathematical interpreter to compute the volume dynamically.
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 1: Calculating the Pool's Volume Using a Tool
A company needs to ship a product in a rectangular box that is 60 cm long, 20 cm wide, and 30 cm high. The shipping cost is based on the volume in liters. Given that 1 liter is equal to 1000 cubic centimeters, which of the following expressions correctly represents the sequence of calculations required to find the box's volume in liters?
A rectangular fish tank is 50 cm long, 30 cm wide, and 40 cm high. To treat the water, a chemical must be added at a rate of 5 milliliters per liter of water (note: 1000 cubic centimeters = 1 liter). Arrange the steps below in the correct logical order to determine the total amount of chemical needed.
Analyzing AI Reasoning in a Multi-Step Problem
Learn After
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?