Bernat Sampera
← Notes

Context Modules for Recurring Queries

Context Engineering

You create a tool to analyze all the queries and answers, find those that are similar and create a context module for this specific question and answer, then catch the queries from the user to see if they match the answer from the module and show the LLM the context module.

Self-improving context. The system learns what keeps coming up and builds reusable modules for it instead of answering from scratch every time.