Ensure date is passed to pipeline. Fix woring

This commit is contained in:
William Jeynes
2026-03-02 14:58:26 +00:00
parent c94812ed80
commit 6ae551a93f
5 changed files with 6 additions and 2 deletions
+1
View File
@@ -10,6 +10,7 @@ export async function hydratePrompt(path: string, state: any) : Promise<string>
raw = raw.replace("###TITLE###", state.disinformationTitle);
raw = raw.replace("###LM###", state.messages.at(-1).content);
raw = raw.replace("###NTITLE###", state.normalizedClaim);
raw = raw.replace("###CDATE###", state.date);
if (raw.indexOf("###TECLAIM###") != -1) {
const title = state.proposedTriggerEvent[state.proposedTriggerEventIndex].Event
+1 -1
View File
@@ -5,7 +5,7 @@ There is a false disinformation claim circulating:
###NTITLE###
Produce up-to 5 specific "trigger events" that happened that could have led to the spread of this disinformation.
Remember the time frame of the disinformation campaign: {{CAMPAIGN_DATE}}
Remember the time frame of the disinformation campaign: ###CDATE###
Include no information or events that would not have been available at the time.
Produce no more text other than the json.