MI Történik?

Mesterséges intelligencia hírek magyarul — naponta frissülve

← Vissza a főoldalra

Az Anthropic útmutatója szerint a kontextus dokumentumokat a prompt elejére kell helyezni

Most people are doing long context prompts backwards. Instead of burying your documents in the middle or bottom of your prompt, Anthropic's latest guidance says to put all your longform data at the very top—before your instructions, examples, or questions. The results? Up to 30% better response quality, especially when working with multiple complex documents.

Here's the simple structure that works: First, dump all your long documents at the top using XML tags like <document> and <source>. Then, add your actual query at the very end. Pro tip: Ask Claude to quote relevant parts of the documents first before carrying out the main task. This helps it focus on what matters instead of getting lost in document noise. Oh, and it might sound counterintuitive, but putting your most important question last (not first) dramatically improves Claude's ability to process massive amounts of information.

Miért fontos?

Following these structural prompt engineering tips can improve response quality by up to 30% for long-context models.

Eredeti forrás megtekintése (angol) →
Kapcsolódó hírek
A Mistral 3 milliárd eurót gyűjtött be Európa eddigi legnagyobb tech tőkeemelési körében
7 órája
Az AI által tervezett gyógyszer visszafordítja a biológiai öregedési markereket a klinikai vizsgálati alanyoknál
9 órája
A GPT-6 Astra maximális pontszórosra vizsgázott Dél-Korea hírhedten nehéz egyetemi felvételjén
12 órája
Tudj meg többet
Mesteri Prompt Mérnökség: Fejlett Stratégiák és Gyakorlati Tippek az AI Maximális Kihasználásához
AI a mindennapokban: 10 zseniális prompt, amivel órákat spórolhatsz a munkádban