પ્રકરણ ત્રણ
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 માં જો.
Context Manage કરવાની Strategies
હવે તું window સમજે છે, તો pro ની જેમ manage કરતા શીખ. આ techniques છે જે "AI use કરું છું" અને "AI થી extraordinary results મેળવું છું" વચ્ચેનો ફરક છે.
જતાં જતાં Summarize કર
દર 5-10 messages પછી, AI ને key decisions અને details નો ટૂંકો recap લખવા કહે. પછી એ summary આગલા message માં paste કર. આ context ને "reset" કરે, સૌથી important information આગળ રાખીને.
Important વાત પહેલાં રાખ
સૌથી critical information message ની શરૂઆતમાં રાખ, અંતમાં નહીં. AI શરૂઆતની અને અંતની information પર વધુ ધ્યાન આપે — વચ્ચેનું ખોવાઈ શકે, ખાસ કરીને લાંબા prompts માં.
Strategy થી Fresh start કર
Topic ઘણો બદલાય ત્યારે નવી conversation શરૂ કરવામાં ડર નહીં. તેં શું decide કર્યું એનો summary લઈ જા, full history નહીં. Clean context ઘણીવાર cluttered context કરતાં better હોય.
શું યાદ રાખવું એ clearly કહે
"Important: user vegetarian છે. આ ભૂલીશ નહીં." વિચિત્ર લાગે, પણ કામ કરે. Explicit reminders anchors ની જેમ કામ કરે જેને AI વધુ ગંભીરતાથી લે.
Structured formats વાપર
Bulleted lists, headers, અને clear labels AI ને context efficiently parse કરવામાં મદદ કરે. સારી રીતે organized prompt, prose ના paragraph કરતાં double token value ધરાવે.
તું fundamentals શીખ્યો — prompting, asking, અને context. આગળ: power prompts ની cheat sheet જે તારી સાથે લઈ જવાની.