🔥 3-day streak
Databricks Certified Generative AI Engineer Associate108 / 145
Question 108 of 145
You are building a product-description generator that must follow a specific style. You have a Delta table containing 200 approved (product_attributes, description) example pairs. At request time, you want to select the 3 examples whose product category matches the incoming request and dynamically insert them into the prompt as few-shot demonstrations before calling a Foundation Model API endpoint. Which approach best constructs this prompt programmatically?
Reviewed for accuracy · Report an issueNext question