You have uploaded your pricing, policies, and product docs. You have written clear instructions. But your assistant still gives vague answers, mixes up information from different sources, or occasionally makes things up. The missing piece is context engineering: teaching your assistant how to find, prioritize, and use information from multiple sources. This is what separates assistants that “kind of work” from assistants that feel like a real team member.Documentation Index
Fetch the complete documentation index at: https://docs.useinvent.com/llms.txt
Use this file to discover all available pages before exploring further.
What Is Context Engineering?
Context engineering is the practice of telling your assistant which information to trust, in what order, and how to handle gaps. It lives inside your Instructions and works together with your Knowledge Base. Without context engineering, your assistant treats all Knowledge equally. A blog post from six months ago carries the same weight as your current pricing page. An outdated FAQ competes with your latest policy update. With context engineering, your assistant knows:- Which sources to check first
- How to handle conflicting information
- What to do when it cannot find an answer
- How to present sources naturally
Knowledge Source Hierarchy
The most impactful thing you can add to your instructions is a trust order for your knowledge sources. This tells the assistant which source wins when information overlaps or conflicts. Add a section like this to your Instructions:Retrieval and Response Method
Guide how your assistant constructs its answers from knowledge sources.The No-Hallucination Fallback
This is the most important safety net in your instructions. Tell your assistant exactly what to do when it does not have the answer.Natural Source Linking
When your assistant references information from its Knowledge Base, the default behavior can sound robotic. Teach it to share sources naturally.Handling Conflicting Information
As your Knowledge Base grows, you may end up with information that overlaps or contradicts itself. Prepare your assistant for this. Keep your Knowledge Base well-organized with one authoritative source per topic to avoid conflicts in the first place.The best way to prevent conflicting information is to audit your Knowledge Base regularly. Remove outdated documents, merge overlapping content, and keep one authoritative source for each topic. See the maintenance tips below.
Complete Context Engineering Template
Here is a full context engineering section you can add to your Instructions:Real-World Impact
Without context engineering:Customer: “What’s the refund policy for the Pro plan?” Assistant: “Refunds are generally available within 30 days.” (vague, possibly wrong, no source)With context engineering:
Customer: “What’s the refund policy for the Pro plan?” Assistant: “Pro plan subscriptions can be cancelled anytime, but refunds are only available within the first 14 days of a billing cycle. After that, your access continues until the end of the current period. You can find the full policy details here if you’d like to review them.”The difference: the assistant checked the right source, gave a precise answer, and referenced it naturally.
Ongoing Maintenance
Context engineering is only as good as the Knowledge Base it works with. Keep both healthy: Weekly: Review conversation logs in the Inbox for questions the assistant struggled with. Check whether the answer exists in Knowledge and whether the assistant found it. Monthly: Audit your Knowledge Base for outdated or conflicting content. Remove documents that have been superseded. Merge overlapping sources into one authoritative version. After business changes: When you update pricing, policies, or products, update the corresponding Knowledge items immediately. Outdated knowledge with good context engineering still produces wrong answers.Next Steps
Instructions vs Knowledge
Make sure your information is in the right place before adding context engineering
Writing Effective Instructions
Build the full instruction set that context engineering plugs into