@valtimo-plugins/valtimo-llm 5.4.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/valtimo-plugins-valtimo-llm.mjs +23 -23
- package/fesm2022/valtimo-plugins-valtimo-llm.mjs.map +1 -1
- package/lib/components/chat/chat-configuration.component.d.ts +1 -2
- package/lib/components/chat-memorize/chat-memorize-configuration.component.d.ts +1 -2
- package/lib/components/give-summary/give-summary-configuration.component.d.ts +1 -2
- package/package.json +4 -6
- package/esm2022/lib/assets/index.mjs +0 -17
- package/esm2022/lib/assets/valtimo-llm-plugin-logo.mjs +0 -18
- package/esm2022/lib/components/chat/chat-configuration.component.mjs +0 -74
- package/esm2022/lib/components/chat-memorize/chat-memorize-configuration.component.mjs +0 -74
- package/esm2022/lib/components/give-summary/give-summary-configuration.component.mjs +0 -74
- package/esm2022/lib/components/valtimo-llm-configuration/valtimo-llm-configuration.component.mjs +0 -85
- package/esm2022/lib/models/config.mjs +0 -17
- package/esm2022/lib/models/index.mjs +0 -17
- package/esm2022/lib/valtimo-llm-plugin-module.mjs +0 -54
- package/esm2022/lib/valtimo-llm-plugin.specification.mjs +0 -88
- package/esm2022/public_api.mjs +0 -26
- package/esm2022/valtimo-plugins-valtimo-llm.mjs +0 -5
|
@@ -99,12 +99,12 @@ class ValtimoLlmConfigurationComponent {
|
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
103
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValtimoLlmConfigurationComponent, deps: [{ token: i1.PluginManagementService }, { token: i2.TranslateService }, { token: i1.PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
103
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ValtimoLlmConfigurationComponent, isStandalone: false, selector: "valtimo-llm-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n placeholder=\"Valtimo LLM Plugin\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"\"\n >\n </v-input>\n <v-input\n name=\"token\"\n type=\"password\"\n [title]=\"'token' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientSecret\"\n [required]=\"true\"\n [fullWidth]=\"true\"\n [tooltip]=\"'tokenTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
104
104
|
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValtimoLlmConfigurationComponent, decorators: [{
|
|
106
106
|
type: Component,
|
|
107
|
-
args: [{ selector: 'valtimo-llm-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n placeholder=\"
|
|
107
|
+
args: [{ standalone: false, selector: 'valtimo-llm-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n placeholder=\"Valtimo LLM Plugin\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"\"\n >\n </v-input>\n <v-input\n name=\"token\"\n type=\"password\"\n [title]=\"'token' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientSecret\"\n [required]=\"true\"\n [fullWidth]=\"true\"\n [tooltip]=\"'tokenTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
108
108
|
}], ctorParameters: () => [{ type: i1.PluginManagementService }, { type: i2.TranslateService }, { type: i1.PluginTranslationService }], propDecorators: { save$: [{
|
|
109
109
|
type: Input
|
|
110
110
|
}], disabled$: [{
|
|
@@ -167,12 +167,12 @@ class GiveSummaryConfigurationComponent {
|
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GiveSummaryConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
171
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GiveSummaryConfigurationComponent, isStandalone: false, selector: "valtimo-give-summary-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"longText\"\n [title]=\"'longText' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.longText\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'longTextTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input\n name=\"resultPV\"\n [title]=\"'resultPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'resultPV' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
172
172
|
}
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GiveSummaryConfigurationComponent, decorators: [{
|
|
174
174
|
type: Component,
|
|
175
|
-
args: [{ selector: 'valtimo-give-summary-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"longText\"\n [title]=\"'longText' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.longText\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'longTextTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input\n name=\"resultPV\"\n [title]=\"'resultPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'resultPV' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n" }]
|
|
175
|
+
args: [{ standalone: false, selector: 'valtimo-give-summary-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"longText\"\n [title]=\"'longText' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.longText\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'longTextTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input\n name=\"resultPV\"\n [title]=\"'resultPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'resultPV' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n" }]
|
|
176
176
|
}], propDecorators: { save$: [{
|
|
177
177
|
type: Input
|
|
178
178
|
}], disabled$: [{
|
|
@@ -235,12 +235,12 @@ class ChatConfigurationComponent {
|
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
239
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChatConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ChatConfigurationComponent, isStandalone: false, selector: "valtimo-chat-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input name=\"question\"\n type=\"textarea\"\n class=\"textarea-input\"\n [title]=\"'question' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.question\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [rows]=\"10\"\n [tooltip]=\"'questionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"chatAnswerPV\"\n [title]=\"'chatAnswerPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.chatAnswerPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'chatAnswerPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"interpolatedQuestionPV\"\n [title]=\"'interpolatedQuestionPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.interpolatedQuestionPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'interpolatedQuestionPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n", styles: ["::ng-deep .textarea-input textarea{padding:8px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
240
240
|
}
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChatConfigurationComponent, decorators: [{
|
|
242
242
|
type: Component,
|
|
243
|
-
args: [{ selector: 'valtimo-chat-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input name=\"question\"\n type=\"textarea\"\n class=\"textarea-input\"\n [title]=\"'question' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.question\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [rows]=\"10\"\n [tooltip]=\"'questionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"chatAnswerPV\"\n [title]=\"'chatAnswerPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.chatAnswerPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'chatAnswerPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"interpolatedQuestionPV\"\n [title]=\"'interpolatedQuestionPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.interpolatedQuestionPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'interpolatedQuestionPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n", styles: ["::ng-deep .textarea-input textarea{padding:8px}\n"] }]
|
|
243
|
+
args: [{ standalone: false, selector: 'valtimo-chat-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input name=\"question\"\n type=\"textarea\"\n class=\"textarea-input\"\n [title]=\"'question' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.question\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [rows]=\"10\"\n [tooltip]=\"'questionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"chatAnswerPV\"\n [title]=\"'chatAnswerPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.chatAnswerPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'chatAnswerPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"interpolatedQuestionPV\"\n [title]=\"'interpolatedQuestionPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.interpolatedQuestionPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'interpolatedQuestionPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n", styles: ["::ng-deep .textarea-input textarea{padding:8px}\n"] }]
|
|
244
244
|
}], propDecorators: { save$: [{
|
|
245
245
|
type: Input
|
|
246
246
|
}], disabled$: [{
|
|
@@ -303,12 +303,12 @@ class ChatMemorizeConfigurationComponent {
|
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
307
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChatMemorizeConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
307
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ChatMemorizeConfigurationComponent, isStandalone: false, selector: "valtimo-chat-memorize-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input name=\"question\"\n type=\"textarea\"\n [title]=\"'question' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.question\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'questionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"chatAnswerPV\"\n type=\"text\"\n [title]=\"'chatAnswerPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.chatAnswerPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'chatAnswerPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"interpolatedQuestionPV\"\n type=\"text\"\n [title]=\"'interpolatedQuestionPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.interpolatedQuestionPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'interpolatedQuestionPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"\"\n type=\"text\"\n [title]=\"'previousQuestion'| pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.previousQuestion\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'previousQuestionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"previousAnswer\"\n type=\"text\"\n [title]=\"'previousAnswer' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.previousAnswer\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'previousAnswerTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"maxQandASaved\"\n type=\"text\"\n [title]=\"'maxQandASaved' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"2\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'maxQandASavedTooltip' | pluginTranslate: pluginId | async\">\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
308
308
|
}
|
|
309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChatMemorizeConfigurationComponent, decorators: [{
|
|
310
310
|
type: Component,
|
|
311
|
-
args: [{ selector: 'valtimo-chat-memorize-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input name=\"question\"\n type=\"textarea\"\n [title]=\"'question' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.question\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'questionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"chatAnswerPV\"\n type=\"text\"\n [title]=\"'chatAnswerPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.chatAnswerPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'chatAnswerPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"interpolatedQuestionPV\"\n type=\"text\"\n [title]=\"'interpolatedQuestionPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.interpolatedQuestionPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'interpolatedQuestionPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"\"\n type=\"text\"\n [title]=\"'previousQuestion'| pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.previousQuestion\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'previousQuestionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"previousAnswer\"\n type=\"text\"\n [title]=\"'previousAnswer' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.previousAnswer\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'previousAnswerTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"maxQandASaved\"\n type=\"text\"\n [title]=\"'maxQandASaved' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"2\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'maxQandASavedTooltip' | pluginTranslate: pluginId | async\">\n </v-input>\n</v-form>\n" }]
|
|
311
|
+
args: [{ standalone: false, selector: 'valtimo-chat-memorize-configuration', template: "<!--\n ~ Copyright 2015-2022 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input name=\"question\"\n type=\"textarea\"\n [title]=\"'question' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.question\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'questionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"chatAnswerPV\"\n type=\"text\"\n [title]=\"'chatAnswerPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.chatAnswerPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'chatAnswerPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"interpolatedQuestionPV\"\n type=\"text\"\n [title]=\"'interpolatedQuestionPV' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.interpolatedQuestionPV\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'interpolatedQuestionPVTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"\"\n type=\"text\"\n [title]=\"'previousQuestion'| pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.previousQuestion\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'previousQuestionTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"previousAnswer\"\n type=\"text\"\n [title]=\"'previousAnswer' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.previousAnswer\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'previousAnswerTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input name=\"maxQandASaved\"\n type=\"text\"\n [title]=\"'maxQandASaved' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"2\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'maxQandASavedTooltip' | pluginTranslate: pluginId | async\">\n </v-input>\n</v-form>\n" }]
|
|
312
312
|
}], propDecorators: { save$: [{
|
|
313
313
|
type: Input
|
|
314
314
|
}], disabled$: [{
|
|
@@ -339,17 +339,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
339
339
|
* limitations under the License.
|
|
340
340
|
*/
|
|
341
341
|
class ValtimoLlmPluginModule {
|
|
342
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
343
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValtimoLlmPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
343
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ValtimoLlmPluginModule, declarations: [ValtimoLlmConfigurationComponent,
|
|
344
344
|
GiveSummaryConfigurationComponent,
|
|
345
345
|
ChatConfigurationComponent,
|
|
346
346
|
ChatMemorizeConfigurationComponent], imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, ParagraphModule], exports: [ValtimoLlmConfigurationComponent,
|
|
347
347
|
GiveSummaryConfigurationComponent,
|
|
348
348
|
ChatConfigurationComponent,
|
|
349
349
|
ChatMemorizeConfigurationComponent] }); }
|
|
350
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
350
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValtimoLlmPluginModule, imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, ParagraphModule] }); }
|
|
351
351
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValtimoLlmPluginModule, decorators: [{
|
|
353
353
|
type: NgModule,
|
|
354
354
|
args: [{
|
|
355
355
|
declarations: [
|
|
@@ -417,7 +417,7 @@ const VALTIMO_LLM_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSU
|
|
|
417
417
|
* limitations under the License.
|
|
418
418
|
*/
|
|
419
419
|
const valtimoLlmPluginSpecification = {
|
|
420
|
-
pluginId: '
|
|
420
|
+
pluginId: 'valtimo-llm',
|
|
421
421
|
pluginConfigurationComponent: ValtimoLlmConfigurationComponent,
|
|
422
422
|
pluginLogoBase64: VALTIMO_LLM_PLUGIN_LOGO_BASE64,
|
|
423
423
|
functionConfigurationComponents: {
|
|
@@ -433,7 +433,7 @@ const valtimoLlmPluginSpecification = {
|
|
|
433
433
|
'chat-memorize': 'Stel een vraag aan een chatmodel die vorige vragen en antwoorden onthoudt',
|
|
434
434
|
url: 'API-URL',
|
|
435
435
|
urlTooltip: 'URL van de Mistral REST-API',
|
|
436
|
-
description: '
|
|
436
|
+
description: 'Deze plugin maakt het mogelijk om opdrachten te laten uitvoeren door een Large Language AI model.',
|
|
437
437
|
configurationTitle: 'Configuratienaam',
|
|
438
438
|
configurationTitleTooltip: 'Naam waaronder deze pluginconfiguratie binnen de applicatie beschikbaar is.',
|
|
439
439
|
token: 'Token',
|
|
@@ -460,7 +460,7 @@ const valtimoLlmPluginSpecification = {
|
|
|
460
460
|
'chat-memorize': 'Ask a question to a chat model that remembers previous questions and answers',
|
|
461
461
|
url: 'API URL',
|
|
462
462
|
urlTooltip: 'URL of the Mistral REST API',
|
|
463
|
-
description: '
|
|
463
|
+
description: 'This plugin makes it possible to interact with a Large Language AI model..',
|
|
464
464
|
configurationTitle: 'Configuration name',
|
|
465
465
|
configurationTitleTooltip: 'Name under which this plugin configuration is available in the application.',
|
|
466
466
|
token: 'Token',
|