@e-llm-studio/instant-learning 0.0.300 → 0.0.302

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 +1 @@
1
- {"version":3,"file":"mockComparisonData.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/ChatComponents/mockComparisonData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiP9B,CAAA"}
1
+ {"version":3,"file":"mockComparisonData.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/ChatComponents/mockComparisonData.ts"],"names":[],"mappings":"AAo7BA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAavC,CAAC"}
@@ -1,56 +1,23 @@
1
- interface ComparisonFieldAnalysis {
2
- relation: string;
3
- score: number;
4
- highlights?: {
5
- ruleA_spans?: string[];
6
- ruleB_spans?: string[];
7
- };
8
- }
9
- interface ComparisonAnalysis {
10
- rule_difference_comparison: {
11
- summary: {
12
- overall_score: number;
13
- overall_summary: string;
14
- };
15
- fields: {
16
- title: ComparisonFieldAnalysis;
17
- scope: ComparisonFieldAnalysis;
18
- description: ComparisonFieldAnalysis;
19
- when_to_apply: {
20
- score: number;
21
- mappings: any[];
22
- };
23
- when_not_to_apply: {
24
- score: number;
25
- mappings: any[];
26
- };
27
- };
28
- };
29
- }
30
1
  interface RuleData {
31
2
  id: string;
32
3
  title: string;
33
- scope: string;
34
- description: string;
35
- wta: string;
36
- wnta: string;
37
- similarity?: number;
38
- summaryText?: string;
39
- variantType?: string;
40
- tierName?: string;
41
- analysis?: ComparisonAnalysis;
4
+ similarityScoreText?: string;
5
+ scope?: string;
42
6
  isLoading?: boolean;
7
+ intentTreeData?: any;
8
+ behaviorTreeData?: any;
9
+ intentDeviationData?: any;
10
+ behaviorDeviationData?: any;
43
11
  }
44
12
  export interface RuleComparisonProps {
45
- proposedRule: any;
13
+ proposedRule?: any;
46
14
  variants?: RuleData[];
47
15
  onSelectVariant: (variant: RuleData) => void;
48
16
  onAddAsVariant?: () => void;
49
17
  onSkip?: () => void;
50
18
  onBack?: () => void;
51
19
  targetVariantId?: string | null;
52
- highlightedField?: string | null;
53
20
  }
54
- declare const RuleComparison: ({ proposedRule, variants, onSelectVariant, onAddAsVariant, onSkip, onBack, targetVariantId, highlightedField }: RuleComparisonProps) => import("react/jsx-runtime").JSX.Element;
21
+ declare const RuleComparison: ({ variants, onSelectVariant, onSkip, onBack, targetVariantId, }: RuleComparisonProps) => import("react/jsx-runtime").JSX.Element;
55
22
  export default RuleComparison;
56
23
  //# sourceMappingURL=RuleComparison.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RuleComparison.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.tsx"],"names":[],"mappings":"AAOA,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE;QACX,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB,CAAC;CACH;AAED,UAAU,kBAAkB;IAC1B,0BAA0B,EAAE;QAC1B,O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CAClC;AAgVD,QAAA,MAAM,cAAc,mHASjB,mBAAmB,4CA4brB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"RuleComparison.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.tsx"],"names":[],"mappings":"AAKA,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IAGpB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,gBAAgB,CAAC,EAAE,GAAG,CAAC;IACvB,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,qBAAqB,CAAC,EAAE,GAAG,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,eAAe,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AA6FD,QAAA,MAAM,cAAc,oEAMjB,mBAAmB,4CAgLrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "0.0.300",
3
+ "version": "0.0.302",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -89,7 +89,7 @@
89
89
  "@babel/plugin-transform-runtime": "^7.25.9",
90
90
  "@babel/preset-react": "7.26.3",
91
91
  "@babel/preset-typescript": "7.26.0",
92
- "@e-llm-studio/streaming-response": "^1.1.68",
92
+ "@e-llm-studio/streaming-response": "^1.1.72",
93
93
  "@emotion/react": "^11.14.0",
94
94
  "@emotion/styled": "^11.14.1",
95
95
  "@monaco-editor/react": "^4.7.0",
@@ -140,6 +140,7 @@
140
140
  "@craco/craco": "^7.1.0",
141
141
  "@e-llm-studio/citation": "^0.0.165",
142
142
  "@e-llm-studio/watch-me-work": "^0.0.25",
143
+ "@viswa-test/test-citation": "^0.0.39",
143
144
  "pdf-collaborative-tool": "^0.7.0",
144
145
  "primeicons": "^7.0.0",
145
146
  "primereact": "^10.9.7",