@valtimo-plugins/valtimo-llm 6.0.0 → 6.0.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/fesm2022/valtimo-plugins-valtimo-llm.mjs +16 -16
- package/fesm2022/valtimo-plugins-valtimo-llm.mjs.map +1 -1
- package/lib/components/chat/chat-configuration.component.d.ts +2 -1
- package/lib/components/chat-memorize/chat-memorize-configuration.component.d.ts +2 -1
- package/lib/components/give-summary/give-summary-configuration.component.d.ts +2 -1
- package/package.json +4 -4
- package/README.md +0 -56
|
@@ -99,10 +99,10 @@ class ValtimoLlmConfigurationComponent {
|
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
103
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.20", 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: "19.2.
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ValtimoLlmConfigurationComponent, decorators: [{
|
|
106
106
|
type: Component,
|
|
107
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$: [{
|
|
@@ -167,10 +167,10 @@ class GiveSummaryConfigurationComponent {
|
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
171
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GiveSummaryConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
171
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", 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: "19.2.
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GiveSummaryConfigurationComponent, decorators: [{
|
|
174
174
|
type: Component,
|
|
175
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$: [{
|
|
@@ -235,10 +235,10 @@ class ChatConfigurationComponent {
|
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
239
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChatConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", 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: "19.2.
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChatConfigurationComponent, decorators: [{
|
|
242
242
|
type: Component,
|
|
243
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$: [{
|
|
@@ -303,10 +303,10 @@ class ChatMemorizeConfigurationComponent {
|
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
307
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChatMemorizeConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
307
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", 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: "19.2.
|
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChatMemorizeConfigurationComponent, decorators: [{
|
|
310
310
|
type: Component,
|
|
311
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$: [{
|
|
@@ -339,17 +339,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
339
339
|
* limitations under the License.
|
|
340
340
|
*/
|
|
341
341
|
class ValtimoLlmPluginModule {
|
|
342
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
343
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ValtimoLlmPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
343
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", 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: "19.2.
|
|
350
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ValtimoLlmPluginModule, imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, ParagraphModule] }); }
|
|
351
351
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ValtimoLlmPluginModule, decorators: [{
|
|
353
353
|
type: NgModule,
|
|
354
354
|
args: [{
|
|
355
355
|
declarations: [
|