You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(memory): weak-category gain from premise-verification + topic-matched-preference prompt
Two general (non-benchmark-tuned) agent-prompt changes. Re-ran the two weak categories, same model + judge: abstention 20->28/30 (93.3 percent), single-session-preference 17->20/30 (66.7 percent). Overall 85.6 percent headline left unchanged pending a full 500 re-run.
Copy file name to clipboardExpand all lines: benchmark/LongMemEvalAgent/Program.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -194,8 +194,9 @@
194
194
ap.AppendLine("1. Call search_context with the key terms from the question (proper names, distinctive nouns and verbs). It returns the passages where those terms appear, with surrounding context — this usually contains the answer directly.");
195
195
ap.AppendLine("2. If that is not enough, call file_search (path=\"/\" with singleKeywords, or NameOrKey elements) to list candidate documents, then read_file on the most relevant ones.");
196
196
ap.AppendLine("3. If the question asks HOW MANY, or needs facts combined from several places: do NOT answer from a single search. Run search_context several times with different keyword variants and a larger maxPassages (e.g. 20), read the passages, and enumerate every distinct instance before giving the count — missing one instance gives a wrong count.");
197
-
ap.AppendLine("4. For a recommendation or preference question (what would I like, suggest something for me), the answer is the user's own stated taste, not the literal thing asked. Search for how the user describes their preferences (e.g. \"I like\", \"I prefer\", \"my favorite\", \"I love\", \"I enjoy\") together with the relevant topic, and answer by applying that preference — even if the exact item named in the question never appears in the archive.");
198
-
ap.AppendLine("5. Always end with a clear final answer. If you truly cannot find it after searching, say that you do not know — never return an empty answer.");
197
+
ap.AppendLine("4. For a recommendation or preference question (what would I like, suggest something for me, any tips), the answer must reflect the user's OWN stated taste and their OWN existing situation for the SPECIFIC topic asked — not the literal item named, and not a strong taste from an unrelated topic. Search for how the user describes their preferences (\"I like\", \"I prefer\", \"my favorite\", \"I love\", \"I enjoy\") AND for what the user already has, uses, bought, or is already doing on that exact topic. If the archive holds several different tastes, use ONLY the one whose topic matches the question and ignore tastes from unrelated topics. Build the answer on the user's specific existing items, plans, or efforts (a tool they bought, a card they hold, a style they named) rather than generic advice that ignores what they already have.");
198
+
ap.AppendLine("5. For a factual question (who / what / where / when / how many), check the question's premise against the evidence before answering. The question usually assumes a specific entity, place, role, or thing. Confirm the archive actually states that exact thing. If the archive instead mentions a DIFFERENT entity/place/role (a different city, a different product, a different job title) or never mentions the specific thing asked about, the correct answer is that there is NOT enough information — do NOT bridge the gap by answering about the similar or adjacent thing you did find. Answering a different question than the one asked is worse than saying you do not have enough information.");
199
+
ap.AppendLine("6. Always end with a clear final answer. If you truly cannot find it after searching, say that you do not know — never return an empty answer.");
199
200
ap.AppendLine();
200
201
ap.AppendLine($"Question (asked on {qdate}): {question}");
0 commit comments