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
@@ -7,7 +8,6 @@ import {IGraphNode, LLMStreamEventType} from '../../../graphs';
7
8
import{AiIntegrationBindings}from'../../../keys';
8
9
import{LLMProvider}from'../../../types';
9
10
import{stripThinkingTokens}from'../../../utils';
10
-
import{AIMessage}from'@langchain/core/messages';
11
11
import{DbQueryAIExtensionBindings}from'../keys';
12
12
import{DbQueryNodes}from'../nodes.enum';
13
13
import{DbSchemaHelperService}from'../services';
@@ -43,7 +43,7 @@ A rule is relevant if:
43
43
- It is a dependency of another relevant rule (e.g. if rule 3 requires a currency conversion, and rule 5 defines how currency conversion works, both must be included).
44
44
- It applies to any of the selected tables or their relationships.
45
45
46
-
After selecting relevant rules, review your selection and ensure:
46
+
Ensure:
47
47
- Any rule that is referenced by, or is a prerequisite for, another selected rule is also included.
48
48
- Do not include rules that are completely unrelated to the question, schema, or selected tables.
49
49
</instructions>
@@ -82,8 +82,8 @@ If no rules are relevant: <result>none</result>
82
82
</output-instructions>`;
83
83
84
84
simpleOutputInstructions=`<output-instructions>
85
-
Return only a comma-separated list of the relevant rule indexes inside a result tag.
86
-
Do not include any other text, explanation, or formatting.
85
+
Return ONLY the comma-separated list of relevant rule indexes inside a result tag.
86
+
Do NOT include any reasoning, analysis, or explanation — only the result tag.
0 commit comments