From 1bb56f2e4f13b1a21022dd885d8cbc649d2847db Mon Sep 17 00:00:00 2001 From: Darren Edge Date: Mon, 11 Nov 2024 18:38:36 +0000 Subject: [PATCH] Improve prompting to prevent content item duplication --- intelligence_toolkit/query_text_data/prompts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intelligence_toolkit/query_text_data/prompts.py b/intelligence_toolkit/query_text_data/prompts.py index 157aefd..57f48e7 100644 --- a/intelligence_toolkit/query_text_data/prompts.py +++ b/intelligence_toolkit/query_text_data/prompts.py @@ -133,6 +133,8 @@ When presenting evidence, support each sentence with one or more source references: "[source: , ]". Include source IDs only - DO NOT include the chunk ID within the source ID. +Each content item can only be used once, under the most appropriate theme. If a content item is relevant to multiple themes, choose the theme that best captures the main point of the content item. + --TASK-- Content items indexed by id: