itrm-tools 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KnowledgeScope, KnowledgeSeverity } from "./KnowledgeTypes";
|
|
2
2
|
export declare const KNOWLEDGE_CONTEXT_BUDGET = 6000;
|
|
3
|
-
export declare const KNOWLEDGE_CONTEXT_EXAMPLES =
|
|
3
|
+
export declare const KNOWLEDGE_CONTEXT_EXAMPLES = 3;
|
|
4
4
|
export interface IKnowledgeContextExample {
|
|
5
5
|
exampleId: string;
|
|
6
6
|
why: string;
|
|
@@ -5,5 +5,7 @@ exports.KNOWLEDGE_CONTEXT_EXAMPLES = exports.KNOWLEDGE_CONTEXT_BUDGET = void 0;
|
|
|
5
5
|
// that apply there (its area and the areas above it), a few real examples, the findings still valid
|
|
6
6
|
// and how to verify, within a budget of tokens. What does not fit is listed by title, not dropped.
|
|
7
7
|
exports.KNOWLEDGE_CONTEXT_BUDGET = 6000;
|
|
8
|
-
|
|
8
|
+
// 3: the first examples of a rule are of backend; the third is the first of front (T8). In summary,
|
|
9
|
+
// each one costs about 60 tokens.
|
|
10
|
+
exports.KNOWLEDGE_CONTEXT_EXAMPLES = 3;
|
|
9
11
|
//# sourceMappingURL=KnowledgeContextTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KnowledgeContextTypes.js","sourceRoot":"","sources":["../../../../../src/api/request/crud/ai/KnowledgeContextTypes.ts"],"names":[],"mappings":";;;AAEA,gGAAgG;AAChG,oGAAoG;AACpG,mGAAmG;AACtF,QAAA,wBAAwB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"KnowledgeContextTypes.js","sourceRoot":"","sources":["../../../../../src/api/request/crud/ai/KnowledgeContextTypes.ts"],"names":[],"mappings":";;;AAEA,gGAAgG;AAChG,oGAAoG;AACpG,mGAAmG;AACtF,QAAA,wBAAwB,GAAG,IAAI,CAAC;AAC7C,oGAAoG;AACpG,kCAAkC;AACrB,QAAA,0BAA0B,GAAG,CAAC,CAAC"}
|