Short Answer

Improving a Prompt for Tool Use

A developer is building an application where a language model needs to access a company's internal employee database to answer questions. The developer uses the following prompt to find an employee's email address: Find the email address for John Smith. The developer observes that the model often fails to use the database tool and instead makes up an answer or states it cannot access private information. Analyze the provided prompt. What key component is missing that would make it more effective at triggering the use of the external database tool? Rewrite the prompt to improve its reliability.

0

1

Updated 2025-10-04

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course

Evaluation in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science