🔥 3-day streak
Databricks Certified Generative AI Engineer Associate53 / 145
Question 53 of 145

You are building a RAG chain with LangChain Expression Language (LCEL) on Databricks. Your chain must call two independent retrievers — one against a product-documentation vector index and another against a support-ticket vector index — then merge their results before passing everything to the prompt. Profiling shows the two retrieval calls currently run one after the other, adding significant latency. Which LCEL construct should you use to invoke both retrievers concurrently and combine their outputs into a single dictionary for the downstream prompt?

Reviewed for accuracy · Report an issueNext question