4.4 · Lesson (Optional)

Combined Context

Most of the time, you don't need one layer at a time — you need everything relevant to the moment, in one place. get_context is that shortcut.

Given a question, it searches all three layers and assembles the matches into a single block of text, sized to drop straight into an Go to glossary for large language model (opens in a new tab)A model trained on text to predict the next token, and so to generate language. prompt.