File size: 1,049 Bytes
363cda9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# ***Context Engineering***
---
This file serves as inspiration for context engneering techniques that are currently being used by experts in the industry.
***Inpsired by:***
- [Langchain](https://www.notion.so/Context-Engineering-for-Agents-2a1808527b17803ba221c2ced7eef508)
- [Video](https://www.youtube.com/watch?v=XFCkrYHHfpQ&t=217s)
## ***`What is context engineering?`***
`The art and science to fill the context with just the right information for the next step.`
[Chroma research](https://research.trychroma.com/context-rot) shows that increasing input tokens daramatically impacts llm performance.
## Notes:
### 1) Tool calls
- tools calls bloat context as its added to messages list, with call itself + tool results
- hence flush or summarise tools to reduce context length and keep context dense with just imoprtant info
- furthermore tools are suually injected at sytem prompt level which bloats context as well and leads to confusion of wghich tool to use.
### Context Offloading
...
### Context Compaction & Offloading
|