Learn Before
Constructing a Tool Call for a Calendar API
A user prompts a large language model with the question: 'What is my next meeting today?'. The model has access to a tool named calendar_lookup which can search a user's calendar. This tool requires a single parameter called search_term to function. Based on the user's question, write the specific, structured command the model should generate to use this tool.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Executing Tool Calls and Integrating Results in LLMs
A user asks a large language model, 'What is the current stock price of ExampleCorp (ticker: EXM)?'. The model has access to a tool designed to fetch stock prices which requires a company's ticker symbol. Which of the following represents the most appropriate and correctly structured command the model would generate to use this tool?
Evaluating LLM Tool Use Efficiency
Constructing a Tool Call for a Calendar API