Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Building with language models course

        Chunks with source boundaries

        Opening Building with language models
        Your turn

        RAG chunking and source boundaries

        Chunk contents

        A chunk is a retrievable part of a source, not a new independent authority. Preserve its document identity and revision along with its text. Overlap can keep a sentence’s context near a boundary, but duplicated text should not become two independent supporting sources.

        Split a fictional maintenance note into bounded pieces. Keep the final short piece rather than discarding it. An empty document should produce no content chunks. Store stable identifiers so a citation can be checked against the exact retrieved piece after indexing.

        Local limits

        The retrieval guide, checked November 14, 2026, describes hosted chunking and indexing options. This exercise implements a small local splitter. Its chosen size is a task requirement, not a universal best chunk size or a measured recommendation for every corpus.

        Continue with fixture vectors and the carried handbook index project. Evaluate a live corpus before choosing production chunk boundaries.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.