AI and Knowledge: does it learn? How can I give it my entire project as context?
Miguel Del Amor
•
Jun 5, 2025
I believe this is a concept we all must clearly understand: Large Language Models (LLMs) do not inherently have the ability to “know your context” or “have your full project” stored internally. Instead, they’re using specific techniques to enrich the queries you send them.
When you train an LLM, you generate internal weights that allow the model to think and respond in specific ways. Fine-tuning adjusts these weights further to alter behavior. This results in implicit knowledge: during training, the LLM condenses statistical patterns from vast datasets into neural weights, enabling it to produce relevant facts or answers. However, this implicit knowledge is static, it doesn’t update automatically after training.
The capacity to “learn” dynamically from new, changing data is handled externally. That additional context is stored separately and passed along with every query as extra context. Another layer of software prepares the prompts by injecting this relevant contextual information before it reaches the LLM.
A clear example of this approach, which you can even explore by checking out its open-source code, is Continue.dev. Continue automatically assembles context from your current file, recent conversations, and related past information retrieved using semantic search, powered by a vector database (ChromaDB). Semantic search allows Continue.dev to quickly recall relevant previous interactions or files based on meaning rather than exact wording. It then sends this assembled context to the LLM, ensuring precise, relevant, and useful responses.
The actual message sent to the LLM is a prompt clearly explaining the context and purpose in plain text. The LLM then processes this exactly as if you had manually copied and pasted all relevant information. If you use Ollama integrated with Continue.dev, you can directly see these prompts being sent and verify what I’m explaining here.
It’s not as simple as merely setting up a vector database, querying it, and forwarding results to the LLM. There are numerous advanced techniques for context splitting, RAG, agentic RAG, and more. However, the fundamental principle remains unchanged.
๐จ๐น๐๐ถ๐บ๐ฎ๐๐ฒ๐น๐, ๐๐ต๐ฒ ๐บ๐ฎ๐ด๐ถ๐ฐ ๐ถ๐๐ป’๐ ๐ท๐๐๐ ๐ถ๐ป ๐๐ต๐ฒ ๐บ๐ผ๐ฑ๐ฒ๐น; ๐ถ๐’๐ ๐ถ๐ป ๐ต๐ผ๐ ๐ฐ๐น๐ฒ๐๐ฒ๐ฟ๐น๐ ๐๐ผ๐ ๐ณ๐ฒ๐ฒ๐ฑ ๐ถ๐ ๐๐ต๐ฒ ๐ฟ๐ถ๐ด๐ต๐ ๐ฐ๐ผ๐ป๐๐ฒ๐ ๐ ๐ฎ๐ ๐ฒ๐ ๐ฎ๐ฐ๐๐น๐ ๐๐ต๐ฒ ๐ฟ๐ถ๐ด๐ต๐ ๐บ๐ผ๐บ๐ฒ๐ป๐.
At DisplayNote, weโre embracing this principle.
Weโre actively working with AI tools, not just exploring their capabilities, but also applying best practices around prompt design, context management, and real-world testing. Our goal is to understand where these technologies add genuine value, and to integrate them thoughtfully into our workflows and products. By experimenting, refining, and sharing what we learn, weโre helping shape an approach to AI thatโs practical, responsible, and grounded in real outcomes.
Want to stay in the loop?
Keep up-to-date with everything DisplayNote โ including new releases, job openings, and customer giveaways.
You are currently unable to join our mailing list - if you would like to get in touch please check out our contact page.
Donโt worry, weโll not spam you and weโll never share your email with anyone