🔥 3-day streak
Databricks Certified Generative AI Engineer Associate59 / 145
Question 59 of 145

You are building a customer-support RAG assistant using LangChain LCEL on Databricks. The chain retrieves context from Mosaic AI Vector Search, injects it into a prompt, and calls a Foundation Model API chat endpoint. Product wants the assistant to display the model's answer progressively as it is generated in the web chat UI, but the retrieval and prompt-assembly steps should complete before any output appears. Which approach correctly implements this behavior with a single LCEL chain?

Reviewed for accuracy · Report an issueNext question