@memberjunction/ng-core-entity-forms 2.129.0 → 2.130.1
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.
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts +44 -0
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts.map +1 -0
- package/dist/lib/custom/Tests/entity-link-pill.component.js +124 -0
- package/dist/lib/custom/Tests/entity-link-pill.component.js.map +1 -0
- package/dist/lib/custom/Tests/test-form.component.d.ts +96 -9
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +1529 -277
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.d.ts +50 -9
- package/dist/lib/custom/Tests/test-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js +1079 -426
- package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts +228 -5
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +3309 -201
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts +88 -3
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js +1976 -262
- package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +9 -2
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +275 -244
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +27 -26
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +9 -3
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +154 -122
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.js +75 -0
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.js +121 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +77 -41
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.js +167 -0
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +160 -102
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.js +73 -0
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.js +89 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +27 -13
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js +39 -21
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.js +95 -0
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/Entity/entity.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +61 -43
- package/dist/lib/generated/Entities/Entity/entity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/File/file.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/File/file.form.component.js +22 -4
- package/dist/lib/generated/Entities/File/file.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +40 -4
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Test/test.form.component.js +17 -15
- package/dist/lib/generated/Entities/Test/test.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestRun/testrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestRun/testrun.form.component.js +55 -43
- package/dist/lib/generated/Entities/TestRun/testrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestRunFeedback/testrunfeedback.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestRunFeedback/testrunfeedback.form.component.js +9 -15
- package/dist/lib/generated/Entities/TestRunFeedback/testrunfeedback.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestSuite/testsuite.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestSuite/testsuite.form.component.js +39 -19
- package/dist/lib/generated/Entities/TestSuite/testsuite.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestSuiteRun/testsuiterun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestSuiteRun/testsuiterun.form.component.js +40 -16
- package/dist/lib/generated/Entities/TestSuiteRun/testsuiterun.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +145 -134
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +168 -87
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +28 -27
|
@@ -12,176 +12,206 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-user-view-grid";
|
|
13
13
|
import * as i3 from "@memberjunction/ng-base-forms";
|
|
14
14
|
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
15
|
-
function
|
|
15
|
+
function AIModelFormComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
16
16
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
17
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
18
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
17
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
18
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_26_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIActions", $event.totalRowCount)); });
|
|
19
19
|
i0.ɵɵelementEnd()();
|
|
20
20
|
} if (rf & 2) {
|
|
21
21
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
22
22
|
i0.ɵɵadvance();
|
|
23
23
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Actions", "DefaultModelID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Actions"))("AllowLoad", ctx_r1.IsSectionExpanded("aIActions"))("EditMode", ctx_r1.GridEditMode());
|
|
24
24
|
} }
|
|
25
|
-
function
|
|
25
|
+
function AIModelFormComponent_div_28_Template(rf, ctx) { if (rf & 1) {
|
|
26
26
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
27
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
28
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
27
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
28
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_28_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIModelActions", $event.totalRowCount)); });
|
|
29
29
|
i0.ɵɵelementEnd()();
|
|
30
30
|
} if (rf & 2) {
|
|
31
31
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
32
|
i0.ɵɵadvance();
|
|
33
33
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Model Actions", "AIModelID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Model Actions"))("AllowLoad", ctx_r1.IsSectionExpanded("aIModelActions"))("EditMode", ctx_r1.GridEditMode());
|
|
34
34
|
} }
|
|
35
|
-
function
|
|
35
|
+
function AIModelFormComponent_div_30_Template(rf, ctx) { if (rf & 1) {
|
|
36
36
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
37
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
38
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
37
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
38
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_30_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("entityDocuments", $event.totalRowCount)); });
|
|
39
39
|
i0.ɵɵelementEnd()();
|
|
40
40
|
} if (rf & 2) {
|
|
41
41
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
42
42
|
i0.ɵɵadvance();
|
|
43
43
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity Documents", "AIModelID"))("NewRecordValues", ctx_r1.NewRecordValues("Entity Documents"))("AllowLoad", ctx_r1.IsSectionExpanded("entityDocuments"))("EditMode", ctx_r1.GridEditMode());
|
|
44
44
|
} }
|
|
45
|
-
function
|
|
45
|
+
function AIModelFormComponent_div_32_Template(rf, ctx) { if (rf & 1) {
|
|
46
46
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
47
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
48
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
47
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
48
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_32_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("vectorIndexes", $event.totalRowCount)); });
|
|
49
49
|
i0.ɵɵelementEnd()();
|
|
50
50
|
} if (rf & 2) {
|
|
51
51
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
52
52
|
i0.ɵɵadvance();
|
|
53
53
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Vector Indexes", "EmbeddingModelID"))("NewRecordValues", ctx_r1.NewRecordValues("Vector Indexes"))("AllowLoad", ctx_r1.IsSectionExpanded("vectorIndexes"))("EditMode", ctx_r1.GridEditMode());
|
|
54
54
|
} }
|
|
55
|
-
function
|
|
55
|
+
function AIModelFormComponent_div_34_Template(rf, ctx) { if (rf & 1) {
|
|
56
56
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
57
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
58
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
57
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
58
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_34_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIAgentNotes", $event.totalRowCount)); });
|
|
59
59
|
i0.ɵɵelementEnd()();
|
|
60
60
|
} if (rf & 2) {
|
|
61
61
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
62
62
|
i0.ɵɵadvance();
|
|
63
63
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Agent Notes", "EmbeddingModelID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Agent Notes"))("AllowLoad", ctx_r1.IsSectionExpanded("aIAgentNotes"))("EditMode", ctx_r1.GridEditMode());
|
|
64
64
|
} }
|
|
65
|
-
function
|
|
65
|
+
function AIModelFormComponent_div_36_Template(rf, ctx) { if (rf & 1) {
|
|
66
66
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
67
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
68
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
67
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
68
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_36_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIResultCache", $event.totalRowCount)); });
|
|
69
69
|
i0.ɵɵelementEnd()();
|
|
70
70
|
} if (rf & 2) {
|
|
71
71
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
72
72
|
i0.ɵɵadvance();
|
|
73
73
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Result Cache", "AIModelID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Result Cache"))("AllowLoad", ctx_r1.IsSectionExpanded("aIResultCache"))("EditMode", ctx_r1.GridEditMode());
|
|
74
74
|
} }
|
|
75
|
-
function
|
|
75
|
+
function AIModelFormComponent_div_38_Template(rf, ctx) { if (rf & 1) {
|
|
76
76
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
77
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
78
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
77
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
78
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_38_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("contentTypes", $event.totalRowCount)); });
|
|
79
79
|
i0.ɵɵelementEnd()();
|
|
80
80
|
} if (rf & 2) {
|
|
81
81
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
82
82
|
i0.ɵɵadvance();
|
|
83
83
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Content Types", "AIModelID"))("NewRecordValues", ctx_r1.NewRecordValues("Content Types"))("AllowLoad", ctx_r1.IsSectionExpanded("contentTypes"))("EditMode", ctx_r1.GridEditMode());
|
|
84
84
|
} }
|
|
85
|
-
function
|
|
85
|
+
function AIModelFormComponent_div_40_Template(rf, ctx) { if (rf & 1) {
|
|
86
86
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
87
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
88
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
87
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
88
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_40_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("entityAIActions", $event.totalRowCount)); });
|
|
89
89
|
i0.ɵɵelementEnd()();
|
|
90
90
|
} if (rf & 2) {
|
|
91
91
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
92
92
|
i0.ɵɵadvance();
|
|
93
93
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity AI Actions", "AIModelID"))("NewRecordValues", ctx_r1.NewRecordValues("Entity AI Actions"))("AllowLoad", ctx_r1.IsSectionExpanded("entityAIActions"))("EditMode", ctx_r1.GridEditMode());
|
|
94
94
|
} }
|
|
95
|
-
function
|
|
95
|
+
function AIModelFormComponent_div_42_Template(rf, ctx) { if (rf & 1) {
|
|
96
96
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
97
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
98
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
97
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
98
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_42_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentExamples", $event.totalRowCount)); });
|
|
99
99
|
i0.ɵɵelementEnd()();
|
|
100
100
|
} if (rf & 2) {
|
|
101
101
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
102
102
|
i0.ɵɵadvance();
|
|
103
103
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Examples", "EmbeddingModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Examples"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIAgentExamples"))("EditMode", ctx_r1.GridEditMode());
|
|
104
104
|
} }
|
|
105
|
-
function
|
|
105
|
+
function AIModelFormComponent_div_44_Template(rf, ctx) { if (rf & 1) {
|
|
106
106
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
107
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
108
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
107
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
108
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_44_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelArchitectures", $event.totalRowCount)); });
|
|
109
109
|
i0.ɵɵelementEnd()();
|
|
110
110
|
} if (rf & 2) {
|
|
111
111
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
112
112
|
i0.ɵɵadvance();
|
|
113
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI
|
|
113
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Architectures", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Architectures"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelArchitectures"))("EditMode", ctx_r1.GridEditMode());
|
|
114
114
|
} }
|
|
115
|
-
function
|
|
115
|
+
function AIModelFormComponent_div_46_Template(rf, ctx) { if (rf & 1) {
|
|
116
116
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
117
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
118
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
117
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
118
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_46_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelModalities", $event.totalRowCount)); });
|
|
119
119
|
i0.ɵɵelementEnd()();
|
|
120
120
|
} if (rf & 2) {
|
|
121
121
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
122
122
|
i0.ɵɵadvance();
|
|
123
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model
|
|
123
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Modalities", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Modalities"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelModalities"))("EditMode", ctx_r1.GridEditMode());
|
|
124
124
|
} }
|
|
125
|
-
function
|
|
125
|
+
function AIModelFormComponent_div_48_Template(rf, ctx) { if (rf & 1) {
|
|
126
126
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
127
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
128
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
127
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
128
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_48_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIAgentModels", $event.totalRowCount)); });
|
|
129
129
|
i0.ɵɵelementEnd()();
|
|
130
130
|
} if (rf & 2) {
|
|
131
131
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
132
132
|
i0.ɵɵadvance();
|
|
133
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("
|
|
133
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Agent Models", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Agent Models"))("AllowLoad", ctx_r1.IsSectionExpanded("aIAgentModels"))("EditMode", ctx_r1.GridEditMode());
|
|
134
134
|
} }
|
|
135
|
-
function
|
|
135
|
+
function AIModelFormComponent_div_50_Template(rf, ctx) { if (rf & 1) {
|
|
136
136
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
137
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
138
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
137
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
138
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_50_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelVendors", $event.totalRowCount)); });
|
|
139
139
|
i0.ɵɵelementEnd()();
|
|
140
140
|
} if (rf & 2) {
|
|
141
141
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
142
142
|
i0.ɵɵadvance();
|
|
143
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model
|
|
143
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Vendors", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Vendors"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelVendors"))("EditMode", ctx_r1.GridEditMode());
|
|
144
144
|
} }
|
|
145
|
-
function
|
|
145
|
+
function AIModelFormComponent_div_52_Template(rf, ctx) { if (rf & 1) {
|
|
146
146
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
147
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
148
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
147
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
148
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_52_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("generatedCodes", $event.totalRowCount)); });
|
|
149
149
|
i0.ɵɵelementEnd()();
|
|
150
150
|
} if (rf & 2) {
|
|
151
151
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
152
152
|
i0.ɵɵadvance();
|
|
153
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("
|
|
153
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Generated Codes", "GeneratedByModelID"))("NewRecordValues", ctx_r1.NewRecordValues("Generated Codes"))("AllowLoad", ctx_r1.IsSectionExpanded("generatedCodes"))("EditMode", ctx_r1.GridEditMode());
|
|
154
154
|
} }
|
|
155
|
-
function
|
|
155
|
+
function AIModelFormComponent_div_54_Template(rf, ctx) { if (rf & 1) {
|
|
156
156
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
157
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
158
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
157
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
158
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_54_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelCosts", $event.totalRowCount)); });
|
|
159
159
|
i0.ɵɵelementEnd()();
|
|
160
160
|
} if (rf & 2) {
|
|
161
161
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
162
162
|
i0.ɵɵadvance();
|
|
163
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
163
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Costs", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Costs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelCosts"))("EditMode", ctx_r1.GridEditMode());
|
|
164
164
|
} }
|
|
165
|
-
function
|
|
165
|
+
function AIModelFormComponent_div_56_Template(rf, ctx) { if (rf & 1) {
|
|
166
166
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
167
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
168
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
167
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
168
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_56_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPromptModels", $event.totalRowCount)); });
|
|
169
169
|
i0.ɵɵelementEnd()();
|
|
170
170
|
} if (rf & 2) {
|
|
171
171
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
172
172
|
i0.ɵɵadvance();
|
|
173
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
173
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Models", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Models"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIPromptModels"))("EditMode", ctx_r1.GridEditMode());
|
|
174
174
|
} }
|
|
175
|
-
function
|
|
175
|
+
function AIModelFormComponent_div_58_Template(rf, ctx) { if (rf & 1) {
|
|
176
176
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
177
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
178
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
177
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
178
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_58_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPromptRuns", $event.totalRowCount)); });
|
|
179
|
+
i0.ɵɵelementEnd()();
|
|
180
|
+
} if (rf & 2) {
|
|
181
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
182
|
+
i0.ɵɵadvance();
|
|
183
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Runs", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Runs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIPromptRuns"))("EditMode", ctx_r1.GridEditMode());
|
|
184
|
+
} }
|
|
185
|
+
function AIModelFormComponent_div_60_Template(rf, ctx) { if (rf & 1) {
|
|
186
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
187
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
188
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_60_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r19); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentRuns", $event.totalRowCount)); });
|
|
189
|
+
i0.ɵɵelementEnd()();
|
|
190
|
+
} if (rf & 2) {
|
|
191
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
192
|
+
i0.ɵɵadvance();
|
|
193
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Runs", "OverrideModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Runs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIAgentRuns"))("EditMode", ctx_r1.GridEditMode());
|
|
194
|
+
} }
|
|
195
|
+
function AIModelFormComponent_div_62_Template(rf, ctx) { if (rf & 1) {
|
|
196
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
197
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
198
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_62_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("queries", $event.totalRowCount)); });
|
|
179
199
|
i0.ɵɵelementEnd()();
|
|
180
200
|
} if (rf & 2) {
|
|
181
201
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
182
202
|
i0.ɵɵadvance();
|
|
183
203
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Queries", "EmbeddingModelID"))("NewRecordValues", ctx_r1.NewRecordValues("Queries"))("AllowLoad", ctx_r1.IsSectionExpanded("queries"))("EditMode", ctx_r1.GridEditMode());
|
|
184
204
|
} }
|
|
205
|
+
function AIModelFormComponent_div_64_Template(rf, ctx) { if (rf & 1) {
|
|
206
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
207
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 46);
|
|
208
|
+
i0.ɵɵlistener("dataLoaded", function AIModelFormComponent_div_64_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIModels", $event.totalRowCount)); });
|
|
209
|
+
i0.ɵɵelementEnd()();
|
|
210
|
+
} if (rf & 2) {
|
|
211
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
212
|
+
i0.ɵɵadvance();
|
|
213
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Models", "PriorVersionID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Models"))("AllowLoad", ctx_r1.IsSectionExpanded("aIModels"))("EditMode", ctx_r1.GridEditMode());
|
|
214
|
+
} }
|
|
185
215
|
let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent {
|
|
186
216
|
async ngOnInit() {
|
|
187
217
|
await super.ngOnInit();
|
|
@@ -199,6 +229,8 @@ let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent
|
|
|
199
229
|
{ sectionKey: 'contentTypes', sectionName: 'Content Types', isExpanded: false },
|
|
200
230
|
{ sectionKey: 'entityAIActions', sectionName: 'Entity AI Actions', isExpanded: false },
|
|
201
231
|
{ sectionKey: 'mJAIAgentExamples', sectionName: 'MJ: AI Agent Examples', isExpanded: false },
|
|
232
|
+
{ sectionKey: 'mJAIModelArchitectures', sectionName: 'MJ: AI Model Architectures', isExpanded: false },
|
|
233
|
+
{ sectionKey: 'mJAIModelModalities', sectionName: 'MJ: AI Model Modalities', isExpanded: false },
|
|
202
234
|
{ sectionKey: 'aIAgentModels', sectionName: 'AIAgent Models', isExpanded: false },
|
|
203
235
|
{ sectionKey: 'mJAIModelVendors', sectionName: 'MJ: AI Model Vendors', isExpanded: false },
|
|
204
236
|
{ sectionKey: 'generatedCodes', sectionName: 'Generated Codes', isExpanded: false },
|
|
@@ -206,73 +238,83 @@ let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent
|
|
|
206
238
|
{ sectionKey: 'mJAIPromptModels', sectionName: 'MJ: AI Prompt Models', isExpanded: false },
|
|
207
239
|
{ sectionKey: 'mJAIPromptRuns', sectionName: 'MJ: AI Prompt Runs', isExpanded: false },
|
|
208
240
|
{ sectionKey: 'mJAIAgentRuns', sectionName: 'MJ: AI Agent Runs', isExpanded: false },
|
|
209
|
-
{ sectionKey: 'queries', sectionName: 'Queries', isExpanded: false }
|
|
241
|
+
{ sectionKey: 'queries', sectionName: 'Queries', isExpanded: false },
|
|
242
|
+
{ sectionKey: 'aIModels', sectionName: 'AI Models', isExpanded: false }
|
|
210
243
|
]);
|
|
211
244
|
}
|
|
212
245
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelFormComponent_BaseFactory; return function AIModelFormComponent_Factory(t) { return (ɵAIModelFormComponent_BaseFactory || (ɵAIModelFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelFormComponent)))(t || AIModelFormComponent); }; })(); }
|
|
213
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
246
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 65, vars: 170, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "modelOverview", "sectionName", "Model Overview", "icon", "fa fa-info-circle", 3, "form", "formContext"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "AIModelTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ModelSelectionInsights", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "InheritTypeModalities", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "PriorVersionID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "AIModelType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "performanceMetrics", "sectionName", "Performance Metrics", "icon", "fa fa-tachometer-alt", 3, "form", "formContext"], ["FieldName", "PowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "SpeedRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "CostRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "technicalSpecifications", "sectionName", "Technical Specifications", "icon", "fa fa-cog", 3, "form", "formContext"], ["FieldName", "DriverClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DriverImportPath", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "APIName", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "InputTokenLimit", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "SupportedResponseFormats", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "SupportsEffortLevel", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "systemMetadata", "sectionName", "System Metadata", "icon", "fa fa-database", 3, "form", "formContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "after-panels", "sectionKey", "aIActions", "sectionName", "AI Actions", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "aIModelActions", "sectionName", "AI Model Actions", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "entityDocuments", "sectionName", "Entity Documents", "icon", "fa fa-file-alt", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "vectorIndexes", "sectionName", "Vector Indexes", "icon", "fa fa-database", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "aIAgentNotes", "sectionName", "AI Agent Notes", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "aIResultCache", "sectionName", "AI Result Cache", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "contentTypes", "sectionName", "Content Types", "icon", "fa fa-folder", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "entityAIActions", "sectionName", "Entity AI Actions", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIAgentExamples", "sectionName", "MJ: AI Agent Examples", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIModelArchitectures", "sectionName", "MJ: AI Model Architectures", "icon", "fa fa-brain", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIModelModalities", "sectionName", "MJ: AI Model Modalities", "icon", "fa fa-brain", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "aIAgentModels", "sectionName", "AIAgent Models", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIModelVendors", "sectionName", "MJ: AI Model Vendors", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "generatedCodes", "sectionName", "Generated Codes", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIModelCosts", "sectionName", "MJ: AI Model Costs", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIPromptModels", "sectionName", "MJ: AI Prompt Models", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIPromptRuns", "sectionName", "MJ: AI Prompt Runs", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIAgentRuns", "sectionName", "MJ: AI Agent Runs", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "queries", "sectionName", "Queries", "icon", "fa-solid fa-clipboard-question", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "aIModels", "sectionName", "AI Models", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [3, "dataLoaded", "Params", "NewRecordValues", "AllowLoad", "EditMode"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
214
247
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
|
|
215
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8);
|
|
216
|
-
i0.ɵɵelementEnd();
|
|
217
|
-
i0.ɵɵelementStart(9, "mj-collapsible-panel", 9);
|
|
218
|
-
i0.ɵɵelement(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12);
|
|
248
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
|
|
219
249
|
i0.ɵɵelementEnd();
|
|
220
|
-
i0.ɵɵelementStart(
|
|
221
|
-
i0.ɵɵelement(
|
|
250
|
+
i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
|
|
251
|
+
i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14);
|
|
222
252
|
i0.ɵɵelementEnd();
|
|
223
|
-
i0.ɵɵelementStart(
|
|
224
|
-
i0.ɵɵelement(
|
|
253
|
+
i0.ɵɵelementStart(15, "mj-collapsible-panel", 15);
|
|
254
|
+
i0.ɵɵelement(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21);
|
|
225
255
|
i0.ɵɵelementEnd();
|
|
226
|
-
i0.ɵɵelementStart(
|
|
227
|
-
i0.ɵɵ
|
|
256
|
+
i0.ɵɵelementStart(22, "mj-collapsible-panel", 22);
|
|
257
|
+
i0.ɵɵelement(23, "mj-form-field", 23)(24, "mj-form-field", 24);
|
|
228
258
|
i0.ɵɵelementEnd();
|
|
229
259
|
i0.ɵɵelementStart(25, "mj-collapsible-panel", 25);
|
|
230
|
-
i0.ɵɵtemplate(26, AIModelFormComponent_div_26_Template, 2, 4, "div",
|
|
260
|
+
i0.ɵɵtemplate(26, AIModelFormComponent_div_26_Template, 2, 4, "div", 26);
|
|
261
|
+
i0.ɵɵelementEnd();
|
|
262
|
+
i0.ɵɵelementStart(27, "mj-collapsible-panel", 27);
|
|
263
|
+
i0.ɵɵtemplate(28, AIModelFormComponent_div_28_Template, 2, 4, "div", 26);
|
|
264
|
+
i0.ɵɵelementEnd();
|
|
265
|
+
i0.ɵɵelementStart(29, "mj-collapsible-panel", 28);
|
|
266
|
+
i0.ɵɵtemplate(30, AIModelFormComponent_div_30_Template, 2, 4, "div", 26);
|
|
267
|
+
i0.ɵɵelementEnd();
|
|
268
|
+
i0.ɵɵelementStart(31, "mj-collapsible-panel", 29);
|
|
269
|
+
i0.ɵɵtemplate(32, AIModelFormComponent_div_32_Template, 2, 4, "div", 26);
|
|
231
270
|
i0.ɵɵelementEnd();
|
|
232
|
-
i0.ɵɵelementStart(
|
|
233
|
-
i0.ɵɵtemplate(
|
|
271
|
+
i0.ɵɵelementStart(33, "mj-collapsible-panel", 30);
|
|
272
|
+
i0.ɵɵtemplate(34, AIModelFormComponent_div_34_Template, 2, 4, "div", 26);
|
|
234
273
|
i0.ɵɵelementEnd();
|
|
235
|
-
i0.ɵɵelementStart(
|
|
236
|
-
i0.ɵɵtemplate(
|
|
274
|
+
i0.ɵɵelementStart(35, "mj-collapsible-panel", 31);
|
|
275
|
+
i0.ɵɵtemplate(36, AIModelFormComponent_div_36_Template, 2, 4, "div", 26);
|
|
237
276
|
i0.ɵɵelementEnd();
|
|
238
|
-
i0.ɵɵelementStart(
|
|
239
|
-
i0.ɵɵtemplate(
|
|
277
|
+
i0.ɵɵelementStart(37, "mj-collapsible-panel", 32);
|
|
278
|
+
i0.ɵɵtemplate(38, AIModelFormComponent_div_38_Template, 2, 4, "div", 26);
|
|
240
279
|
i0.ɵɵelementEnd();
|
|
241
|
-
i0.ɵɵelementStart(
|
|
242
|
-
i0.ɵɵtemplate(
|
|
280
|
+
i0.ɵɵelementStart(39, "mj-collapsible-panel", 33);
|
|
281
|
+
i0.ɵɵtemplate(40, AIModelFormComponent_div_40_Template, 2, 4, "div", 26);
|
|
243
282
|
i0.ɵɵelementEnd();
|
|
244
|
-
i0.ɵɵelementStart(
|
|
245
|
-
i0.ɵɵtemplate(
|
|
283
|
+
i0.ɵɵelementStart(41, "mj-collapsible-panel", 34);
|
|
284
|
+
i0.ɵɵtemplate(42, AIModelFormComponent_div_42_Template, 2, 4, "div", 26);
|
|
246
285
|
i0.ɵɵelementEnd();
|
|
247
|
-
i0.ɵɵelementStart(
|
|
248
|
-
i0.ɵɵtemplate(
|
|
286
|
+
i0.ɵɵelementStart(43, "mj-collapsible-panel", 35);
|
|
287
|
+
i0.ɵɵtemplate(44, AIModelFormComponent_div_44_Template, 2, 4, "div", 26);
|
|
249
288
|
i0.ɵɵelementEnd();
|
|
250
|
-
i0.ɵɵelementStart(
|
|
251
|
-
i0.ɵɵtemplate(
|
|
289
|
+
i0.ɵɵelementStart(45, "mj-collapsible-panel", 36);
|
|
290
|
+
i0.ɵɵtemplate(46, AIModelFormComponent_div_46_Template, 2, 4, "div", 26);
|
|
252
291
|
i0.ɵɵelementEnd();
|
|
253
|
-
i0.ɵɵelementStart(
|
|
254
|
-
i0.ɵɵtemplate(
|
|
292
|
+
i0.ɵɵelementStart(47, "mj-collapsible-panel", 37);
|
|
293
|
+
i0.ɵɵtemplate(48, AIModelFormComponent_div_48_Template, 2, 4, "div", 26);
|
|
255
294
|
i0.ɵɵelementEnd();
|
|
256
|
-
i0.ɵɵelementStart(
|
|
257
|
-
i0.ɵɵtemplate(
|
|
295
|
+
i0.ɵɵelementStart(49, "mj-collapsible-panel", 38);
|
|
296
|
+
i0.ɵɵtemplate(50, AIModelFormComponent_div_50_Template, 2, 4, "div", 26);
|
|
258
297
|
i0.ɵɵelementEnd();
|
|
259
|
-
i0.ɵɵelementStart(
|
|
260
|
-
i0.ɵɵtemplate(
|
|
298
|
+
i0.ɵɵelementStart(51, "mj-collapsible-panel", 39);
|
|
299
|
+
i0.ɵɵtemplate(52, AIModelFormComponent_div_52_Template, 2, 4, "div", 26);
|
|
261
300
|
i0.ɵɵelementEnd();
|
|
262
|
-
i0.ɵɵelementStart(
|
|
263
|
-
i0.ɵɵtemplate(
|
|
301
|
+
i0.ɵɵelementStart(53, "mj-collapsible-panel", 40);
|
|
302
|
+
i0.ɵɵtemplate(54, AIModelFormComponent_div_54_Template, 2, 4, "div", 26);
|
|
264
303
|
i0.ɵɵelementEnd();
|
|
265
|
-
i0.ɵɵelementStart(
|
|
266
|
-
i0.ɵɵtemplate(
|
|
304
|
+
i0.ɵɵelementStart(55, "mj-collapsible-panel", 41);
|
|
305
|
+
i0.ɵɵtemplate(56, AIModelFormComponent_div_56_Template, 2, 4, "div", 26);
|
|
267
306
|
i0.ɵɵelementEnd();
|
|
268
|
-
i0.ɵɵelementStart(
|
|
269
|
-
i0.ɵɵtemplate(
|
|
307
|
+
i0.ɵɵelementStart(57, "mj-collapsible-panel", 42);
|
|
308
|
+
i0.ɵɵtemplate(58, AIModelFormComponent_div_58_Template, 2, 4, "div", 26);
|
|
270
309
|
i0.ɵɵelementEnd();
|
|
271
|
-
i0.ɵɵelementStart(
|
|
272
|
-
i0.ɵɵtemplate(
|
|
310
|
+
i0.ɵɵelementStart(59, "mj-collapsible-panel", 43);
|
|
311
|
+
i0.ɵɵtemplate(60, AIModelFormComponent_div_60_Template, 2, 4, "div", 26);
|
|
273
312
|
i0.ɵɵelementEnd();
|
|
274
|
-
i0.ɵɵelementStart(
|
|
275
|
-
i0.ɵɵtemplate(
|
|
313
|
+
i0.ɵɵelementStart(61, "mj-collapsible-panel", 44);
|
|
314
|
+
i0.ɵɵtemplate(62, AIModelFormComponent_div_62_Template, 2, 4, "div", 26);
|
|
315
|
+
i0.ɵɵelementEnd();
|
|
316
|
+
i0.ɵɵelementStart(63, "mj-collapsible-panel", 45);
|
|
317
|
+
i0.ɵɵtemplate(64, AIModelFormComponent_div_64_Template, 2, 4, "div", 26);
|
|
276
318
|
i0.ɵɵelementEnd()();
|
|
277
319
|
} if (rf & 2) {
|
|
278
320
|
i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
|
|
@@ -293,6 +335,10 @@ let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent
|
|
|
293
335
|
i0.ɵɵadvance();
|
|
294
336
|
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
295
337
|
i0.ɵɵadvance();
|
|
338
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
339
|
+
i0.ɵɵadvance();
|
|
340
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
341
|
+
i0.ɵɵadvance();
|
|
296
342
|
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
|
|
297
343
|
i0.ɵɵadvance();
|
|
298
344
|
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
@@ -357,6 +403,14 @@ let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent
|
|
|
357
403
|
i0.ɵɵadvance();
|
|
358
404
|
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
359
405
|
i0.ɵɵadvance();
|
|
406
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAIModelArchitectures"));
|
|
407
|
+
i0.ɵɵadvance();
|
|
408
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
409
|
+
i0.ɵɵadvance();
|
|
410
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAIModelModalities"));
|
|
411
|
+
i0.ɵɵadvance();
|
|
412
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
413
|
+
i0.ɵɵadvance();
|
|
360
414
|
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("aIAgentModels"));
|
|
361
415
|
i0.ɵɵadvance();
|
|
362
416
|
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
@@ -388,6 +442,10 @@ let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent
|
|
|
388
442
|
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("queries"));
|
|
389
443
|
i0.ɵɵadvance();
|
|
390
444
|
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
445
|
+
i0.ɵɵadvance();
|
|
446
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("aIModels"));
|
|
447
|
+
i0.ɵɵadvance();
|
|
448
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
391
449
|
} }, dependencies: [i1.NgIf, i2.UserViewGridComponent, i3.MJFormField, i3.CollapsiblePanelComponent, i4.RecordFormContainerComponent], encapsulation: 2 }); }
|
|
392
450
|
};
|
|
393
451
|
AIModelFormComponent = __decorate([
|
|
@@ -396,7 +454,7 @@ AIModelFormComponent = __decorate([
|
|
|
396
454
|
export { AIModelFormComponent };
|
|
397
455
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIModelFormComponent, [{
|
|
398
456
|
type: Component,
|
|
399
|
-
args: [{ selector: 'gen-aimodel-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Model Overview Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"modelOverview\"\n sectionName=\"Model Overview\"\n icon=\"fa fa-info-circle\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ModelSelectionInsights\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelType\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Vendor\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Performance Metrics Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"performanceMetrics\"\n sectionName=\"Performance Metrics\"\n icon=\"fa fa-tachometer-alt\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PowerRank\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SpeedRank\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CostRank\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Specifications Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"technicalSpecifications\"\n sectionName=\"Technical Specifications\"\n icon=\"fa fa-cog\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverClass\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverImportPath\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"APIName\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"InputTokenLimit\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportedResponseFormats\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsEffortLevel\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"systemMetadata\"\n sectionName=\"System Metadata\"\n icon=\"fa fa-database\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n <!-- ========================================\n RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- AI Actions Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIActions\"\n sectionName=\"AI Actions\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIActions')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions','DefaultModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsSectionExpanded('aIActions')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIActions', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Model Actions Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIModelActions\"\n sectionName=\"AI Model Actions\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIModelActions')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsSectionExpanded('aIModelActions')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIModelActions', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"entityDocuments\"\n sectionName=\"Entity Documents\"\n icon=\"fa fa-file-alt\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('entityDocuments')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('entityDocuments')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('entityDocuments', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Vector Indexes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"vectorIndexes\"\n sectionName=\"Vector Indexes\"\n icon=\"fa fa-database\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('vectorIndexes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsSectionExpanded('vectorIndexes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('vectorIndexes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Agent Notes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIAgentNotes\"\n sectionName=\"AI Agent Notes\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIAgentNotes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agent Notes','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Agent Notes')\"\n [AllowLoad]=\"IsSectionExpanded('aIAgentNotes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIAgentNotes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIResultCache\"\n sectionName=\"AI Result Cache\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIResultCache')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('aIResultCache')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIResultCache', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Content Types Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"contentTypes\"\n sectionName=\"Content Types\"\n icon=\"fa fa-folder\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('contentTypes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Types','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('Content Types')\"\n [AllowLoad]=\"IsSectionExpanded('contentTypes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('contentTypes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Entity AI Actions Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"entityAIActions\"\n sectionName=\"Entity AI Actions\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('entityAIActions')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsSectionExpanded('entityAIActions')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('entityAIActions', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Examples Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentExamples\"\n sectionName=\"MJ: AI Agent Examples\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentExamples')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Examples','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Examples')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentExamples')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentExamples', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AIAgent Models Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIAgentModels\"\n sectionName=\"AIAgent Models\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIAgentModels')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agent Models','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Agent Models')\"\n [AllowLoad]=\"IsSectionExpanded('aIAgentModels')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIAgentModels', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Model Vendors Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIModelVendors\"\n sectionName=\"MJ: AI Model Vendors\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIModelVendors')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelVendors')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIModelVendors', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Generated Codes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"generatedCodes\"\n sectionName=\"Generated Codes\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('generatedCodes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Generated Codes','GeneratedByModelID')\"\n [NewRecordValues]=\"NewRecordValues('Generated Codes')\"\n [AllowLoad]=\"IsSectionExpanded('generatedCodes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('generatedCodes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Model Costs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIModelCosts\"\n sectionName=\"MJ: AI Model Costs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIModelCosts')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelCosts')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIModelCosts', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Models Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptModels\"\n sectionName=\"MJ: AI Prompt Models\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptModels')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptRuns\"\n sectionName=\"MJ: AI Prompt Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentRuns\"\n sectionName=\"MJ: AI Agent Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Queries Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"queries\"\n sectionName=\"Queries\"\n icon=\"fa-solid fa-clipboard-question\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('queries')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Queries','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('Queries')\"\n [AllowLoad]=\"IsSectionExpanded('queries')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('queries', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
457
|
+
args: [{ selector: 'gen-aimodel-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Model Overview Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"modelOverview\"\n sectionName=\"Model Overview\"\n icon=\"fa fa-info-circle\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ModelSelectionInsights\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"InheritTypeModalities\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PriorVersionID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelType\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Vendor\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Performance Metrics Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"performanceMetrics\"\n sectionName=\"Performance Metrics\"\n icon=\"fa fa-tachometer-alt\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PowerRank\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SpeedRank\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CostRank\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Specifications Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"technicalSpecifications\"\n sectionName=\"Technical Specifications\"\n icon=\"fa fa-cog\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverClass\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverImportPath\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"APIName\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"InputTokenLimit\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportedResponseFormats\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsEffortLevel\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"systemMetadata\"\n sectionName=\"System Metadata\"\n icon=\"fa fa-database\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n <!-- ========================================\n RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- AI Actions Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIActions\"\n sectionName=\"AI Actions\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIActions')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions','DefaultModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsSectionExpanded('aIActions')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIActions', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Model Actions Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIModelActions\"\n sectionName=\"AI Model Actions\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIModelActions')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsSectionExpanded('aIModelActions')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIModelActions', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"entityDocuments\"\n sectionName=\"Entity Documents\"\n icon=\"fa fa-file-alt\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('entityDocuments')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('entityDocuments')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('entityDocuments', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Vector Indexes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"vectorIndexes\"\n sectionName=\"Vector Indexes\"\n icon=\"fa fa-database\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('vectorIndexes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsSectionExpanded('vectorIndexes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('vectorIndexes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Agent Notes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIAgentNotes\"\n sectionName=\"AI Agent Notes\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIAgentNotes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agent Notes','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Agent Notes')\"\n [AllowLoad]=\"IsSectionExpanded('aIAgentNotes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIAgentNotes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIResultCache\"\n sectionName=\"AI Result Cache\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIResultCache')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('aIResultCache')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIResultCache', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Content Types Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"contentTypes\"\n sectionName=\"Content Types\"\n icon=\"fa fa-folder\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('contentTypes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Types','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('Content Types')\"\n [AllowLoad]=\"IsSectionExpanded('contentTypes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('contentTypes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Entity AI Actions Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"entityAIActions\"\n sectionName=\"Entity AI Actions\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('entityAIActions')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions','AIModelID')\"\n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsSectionExpanded('entityAIActions')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('entityAIActions', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Examples Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentExamples\"\n sectionName=\"MJ: AI Agent Examples\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentExamples')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Examples','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Examples')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentExamples')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentExamples', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Model Architectures Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIModelArchitectures\"\n sectionName=\"MJ: AI Model Architectures\"\n icon=\"fa fa-brain\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIModelArchitectures')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Architectures','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Architectures')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelArchitectures')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIModelArchitectures', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Model Modalities Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIModelModalities\"\n sectionName=\"MJ: AI Model Modalities\"\n icon=\"fa fa-brain\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIModelModalities')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Modalities','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Modalities')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelModalities')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIModelModalities', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AIAgent Models Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIAgentModels\"\n sectionName=\"AIAgent Models\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIAgentModels')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agent Models','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('AI Agent Models')\"\n [AllowLoad]=\"IsSectionExpanded('aIAgentModels')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIAgentModels', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Model Vendors Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIModelVendors\"\n sectionName=\"MJ: AI Model Vendors\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIModelVendors')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelVendors')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIModelVendors', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Generated Codes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"generatedCodes\"\n sectionName=\"Generated Codes\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('generatedCodes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Generated Codes','GeneratedByModelID')\"\n [NewRecordValues]=\"NewRecordValues('Generated Codes')\"\n [AllowLoad]=\"IsSectionExpanded('generatedCodes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('generatedCodes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Model Costs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIModelCosts\"\n sectionName=\"MJ: AI Model Costs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIModelCosts')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelCosts')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIModelCosts', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Models Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptModels\"\n sectionName=\"MJ: AI Prompt Models\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptModels')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptRuns\"\n sectionName=\"MJ: AI Prompt Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','ModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentRuns\"\n sectionName=\"MJ: AI Agent Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideModelID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- Queries Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"queries\"\n sectionName=\"Queries\"\n icon=\"fa-solid fa-clipboard-question\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('queries')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('Queries','EmbeddingModelID')\"\n [NewRecordValues]=\"NewRecordValues('Queries')\"\n [AllowLoad]=\"IsSectionExpanded('queries')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('queries', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Models Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIModels\"\n sectionName=\"AI Models\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIModels')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Models','PriorVersionID')\"\n [NewRecordValues]=\"NewRecordValues('AI Models')\"\n [AllowLoad]=\"IsSectionExpanded('aIModels')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIModels', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
400
458
|
}], null, null); })();
|
|
401
459
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelFormComponent, { className: "AIModelFormComponent", filePath: "src/lib/generated/Entities/AIModel/aimodel.form.component.ts", lineNumber: 12 }); })();
|
|
402
460
|
export function LoadAIModelFormComponent() {
|