3

પ્રકરણ ત્રણ

Context
Engineering

AI ભૂલતું નથી — એણે ક્યારેય
યાદ જ નહોતું રાખ્યું.

દર વખતે જ્યારે તું AI ને message મોકલે, ત્યારે એ તારી આખી conversation શરૂઆતથી વાંચે — તારો દરેક message, એનો દરેક response — reply generate કરે, અને પછી બધું ભૂલી જાય. આગલા turn માં, એ જ. આખી transcript ફરીથી feed થાય. એ દુનિયાનો સૌથી dedicated પણ amnesiac reader છે: દર વખતે સંપૂર્ણ, દર વખતે zero થી શરૂ.

Window ની ધાર છે

AI દર turn માં જે transcript ફરી વાંચે છે? એ context window નામની વસ્તુમાં રહે છે — જે tokens માં measure થાય (લગભગ એક token = ત્રણ-ચતુર્થાંશ word). Claude ની window લગભગ 200,000 tokens ધરાવે — 500-page book જેટલું. ઘણું લાગે, પણ તું જે message મોકલે, AI જે response આપે, અને દરેક hidden system instruction — બધા એ જ budget માંથી ખાય. એ તારી ધારણા કરતાં ઝડપથી ભરાય.

Budget ખૂટે ત્યારે, સૌથી જૂના messages ધારથી પડી જાય. તેં message ત્રણમાં dietary restrictions જણાવ્યા હતા? Message પંદર સુધીમાં AI ને એ ન દેખાય. એ બેદરકાર નથી — એ literally જોઈ જ શકતું નથી જે હવે એની સામે નથી. AI ફક્ત એટલું જ સારું છે જેટલી information અત્યારે એની window માં છે.

એટલે જ best AI users ફક્ત સારા prompts નથી લખતા — એ manage કરે છે કે window માં શું જાય. નિયમિત summarize કર જેથી key details visible રહે. Important વાત પહેલાં રાખ. Topic બદલાય ત્યારે fresh start કર. Structured formats વાપર જેથી AI context efficiently parse કરી શકે. Context engineering એ નવું prompt engineering છે.

મુખ્ય વાત

સરસ prompt લખવો એ step one છે. AI ની સામે કઈ information મૂકવી — અને કેવી રીતે structure કરવી — ત્યાં ખરી power છે. દુનિયાનો best prompt પણ fail થાય જો context ખોટો હોય.

Context window ને ભરાતું, overflow થતું, અને ભૂલતું — real time માં જો.

The Context Window

Type messages and watch the window fill up

Context Window
System13 tok

You are a helpful, harmless, and honest assistant.

AI SEES THIS

Empty — type a message below

Visible: 13 tokens
Your Messages

Start typing messages below. Watch the context window fill up on the left. After a few messages, the oldest ones will blow away — that's the AI "forgetting."

Key insight: The system prompt stays pinned at the top. Everything else competes for space. Once the window fills up, early messages vanish from the AI's view.

Context Manage કરવાની Strategies

હવે તું window સમજે છે, તો pro ની જેમ manage કરતા શીખ. આ techniques છે જે "AI use કરું છું" અને "AI થી extraordinary results મેળવું છું" વચ્ચેનો ફરક છે.

1

જતાં જતાં Summarize કર

દર 5-10 messages પછી, AI ને key decisions અને details નો ટૂંકો recap લખવા કહે. પછી એ summary આગલા message માં paste કર. આ context ને "reset" કરે, સૌથી important information આગળ રાખીને.

2

Important વાત પહેલાં રાખ

સૌથી critical information message ની શરૂઆતમાં રાખ, અંતમાં નહીં. AI શરૂઆતની અને અંતની information પર વધુ ધ્યાન આપે — વચ્ચેનું ખોવાઈ શકે, ખાસ કરીને લાંબા prompts માં.

3

Strategy થી Fresh start કર

Topic ઘણો બદલાય ત્યારે નવી conversation શરૂ કરવામાં ડર નહીં. તેં શું decide કર્યું એનો summary લઈ જા, full history નહીં. Clean context ઘણીવાર cluttered context કરતાં better હોય.

4

શું યાદ રાખવું એ clearly કહે

"Important: user vegetarian છે. આ ભૂલીશ નહીં." વિચિત્ર લાગે, પણ કામ કરે. Explicit reminders anchors ની જેમ કામ કરે જેને AI વધુ ગંભીરતાથી લે.

5

Structured formats વાપર

Bulleted lists, headers, અને clear labels AI ને context efficiently parse કરવામાં મદદ કરે. સારી રીતે organized prompt, prose ના paragraph કરતાં double token value ધરાવે.

The Forgetting Experiment

Each strategy fixes a different problem

You've chatted about a Tokyo trip for 15 messages. You mentioned being vegetarian (msg 4), planned Hakone + Kamakura day trips (msg 8), set a $3K budget (msg 5), and briefly considered Osaka (msg 11, then dropped it). Now you ask:

"Give me my day-by-day itinerary."

Remembers your planned day tripsVegetarian diet gets priorityRemoves the "maybe Osaka?" confusionBudget is firm, not vagueOutput becomes a usable day-by-day plan
What the AI sees
...15 messages about Tokyo trip planning...
"Give me my day-by-day itinerary."

No strategies applied — the AI only sees recent messages. Key details from earlier have scrolled away.

AI Response5 problems
Share this course
હવે તું whiteboard જુએ છે. Window ની ધાર અનુભવે છે. એ AI સાથેની દરેક conversation બદલી નાખશે.

તું fundamentals શીખ્યો — prompting, asking, અને context. આગળ: power prompts ની cheat sheet જે તારી સાથે લઈ જવાની.

Vibe Check

New tool unlocked!