book-sparklesContext Manipulation

The Context Manipulator modules provide utilities to shape and optimize the context fed to LMs in RAG/prompting pipelines. Its purposes span four phases of context preparation:

  1. Compressing overlong context.

  2. Enriching chunks with additional information, such as metadata.

  3. Filtering out irrelevant chunks.

  4. Repacking chunk order to be fed into LMs.

circle-exclamation

Last updated