🔥 3-day streak
Databricks Certified Generative AI Engineer Associate51 / 145
Question 51 of 145
You are building a customer-support agent on Databricks using LangChain. The agent must answer product-availability questions by querying a live inventory system exposed as a Python function, and it must also handle general product FAQs from a knowledge base. You want the LLM to decide autonomously when to call the inventory function versus when to answer directly. Which approach correctly enables the agent to invoke the inventory function only when needed?
Reviewed for accuracy · Report an issueNext question