Start refining scorer. Filter data passed to trigger event agent

This commit is contained in:
William Jeynes
2026-02-18 15:03:13 +00:00
parent 3f14b61cd4
commit a2cb93b44e
6 changed files with 77 additions and 50 deletions
+5 -1
View File
@@ -257,7 +257,11 @@ async function ensureExampleClaimJsonlLoaded(): Promise<void> {
jsonlRawtexts.push(text);
jsonlCleantexts.push(row.output[0].content);
const parsed_content = row.output[0].content_parsed;
const filtered_content = parsed_content.filter(itm => itm.human_score > 0.5 && itm.score > 0.5)
jsonlCleantexts.push(JSON.stringify(filtered_content));
jsonlEmbeddings.push(embedding);
}