🔥 3-day streak
Databricks Certified Generative AI Engineer Associate52 / 145
Question 52 of 145
You are building a customer-support assistant on Databricks using LangChain. The assistant must handle long, multi-turn troubleshooting sessions that can exceed 30 exchanges. Early in the session, users describe their environment (OS version, product edition, error codes), and this detail must remain available for the model throughout the whole conversation. However, you are hitting the context window limit of your foundation model after about 20 turns because the full raw history is being passed each time. Which conversation memory approach best preserves the critical early context while staying within the token budget?
Reviewed for accuracy · Report an issueNext question