Conversation history under a token budget

0
Sign in

Fit a conversation history into a token budget for the next model call, keeping the most important messages and dropping or summarizing the rest. Reported on 1point3acres' Sierra bank; reconstructed in our own words.

SierraCodingMedium

Sign in to see the worked answer

The full answer, chapter by chapter, with what interviewers expect at each level. Free with an account: one full answer per company.