From 10f2644408d2f5e18ad2ca87dcd342bd8de883da Mon Sep 17 00:00:00 2001 From: William Jeynes Date: Thu, 2 Apr 2026 20:10:57 +0100 Subject: [PATCH] Use a slightly smaller model. Reduce concurreny. Be more clear in the prompts --- agent/nodes/model.ts | 4 ++-- agent/prompts/normalization.txt | 2 +- agent/prompts/relation.txt | 9 --------- agent/prompts/trigger.txt | 6 ++++++ agent/prompts/verify.txt | 8 -------- supporting/Wrapper/run.ts | 2 +- 6 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 agent/prompts/relation.txt delete mode 100644 agent/prompts/verify.txt diff --git a/agent/nodes/model.ts b/agent/nodes/model.ts index 74bdbe0..ef5778f 100644 --- a/agent/nodes/model.ts +++ b/agent/nodes/model.ts @@ -10,8 +10,8 @@ export function createModelNode(tools: any, promptPath: string): GraphNode0.7 points +Since URLs change frequently, use tools to retreive up to date informaiton everytime, provided examples or existing knowledge will be wrong or out of date. + Lets go through it step by step \ No newline at end of file diff --git a/agent/prompts/verify.txt b/agent/prompts/verify.txt deleted file mode 100644 index 3df5d86..0000000 --- a/agent/prompts/verify.txt +++ /dev/null @@ -1,8 +0,0 @@ -Do the search results cited below -###TESEARCH### -Support the idea that the following happened: -###TECLAIM### - -Respond with "CONFIDENCE", followed by : followed by a confidence score (VERYHIGH, HIGH, MEDIUM, LOW, VERYLOW) followed by : followed by the reason. Use no other words, just return the score and reason in format. - -Dates can be off by a few days, that would still be valid \ No newline at end of file diff --git a/supporting/Wrapper/run.ts b/supporting/Wrapper/run.ts index 50fcaf9..6f6c191 100644 --- a/supporting/Wrapper/run.ts +++ b/supporting/Wrapper/run.ts @@ -17,7 +17,7 @@ const AGENT_NAME = process.env.AGENT ?? "agent"; */ const MODE = process.env.MODE ?? "claim"; -const MAX_CONCURRENCY = 5; +const MAX_CONCURRENCY = 1; const client = new Client({ apiUrl: API_URL });