@valtimo-plugins/valtimo-llm 5.4.4 → 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.
@@ -2,7 +2,7 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FunctionConfigurationComponent } from '@valtimo/plugin';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ChatConfig } from '../../models';
5
- import { FunctionConfigurationData } from "@valtimo/plugin/lib/models/plugin";
5
+ import { FunctionConfigurationData } from "@valtimo/plugin";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ChatConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
8
8
  save$: Observable<void>;
@@ -2,7 +2,7 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FunctionConfigurationComponent } from '@valtimo/plugin';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ChatMemorizeConfig } from '../../models';
5
- import { FunctionConfigurationData } from "@valtimo/plugin/lib/models/plugin";
5
+ import { FunctionConfigurationData } from "@valtimo/plugin";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ChatMemorizeConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
8
8
  save$: Observable<void>;
@@ -2,7 +2,7 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FunctionConfigurationComponent } from '@valtimo/plugin';
3
3
  import { Observable } from 'rxjs';
4
4
  import { GiveSummaryConfig } from '../../models';
5
- import { FunctionConfigurationData } from "@valtimo/plugin/lib/models/plugin";
5
+ import { FunctionConfigurationData } from "@valtimo/plugin";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class GiveSummaryConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
8
8
  save$: Observable<void>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valtimo-plugins/valtimo-llm",
3
3
  "license": "EUPL-1.2",
4
- "version": "5.4.4",
4
+ "version": "6.0.1",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.2.2",
7
7
  "@angular/core": "^17.2.2"
@@ -20,8 +20,6 @@
20
20
  },
21
21
  ".": {
22
22
  "types": "./index.d.ts",
23
- "esm2022": "./esm2022/valtimo-plugins-valtimo-llm.mjs",
24
- "esm": "./esm2022/valtimo-plugins-valtimo-llm.mjs",
25
23
  "default": "./fesm2022/valtimo-plugins-valtimo-llm.mjs"
26
24
  }
27
25
  },
package/README.md DELETED
@@ -1,56 +0,0 @@
1
- # Valtimo LLM plugin
2
-
3
- For chatting with an AI agents using Mistral.
4
-
5
- ## Capabilities
6
-
7
- This plugin has three actions:
8
-
9
- 1. Give Summary: Summarizes the given text.
10
- 2. Chat: Chat with the AI agent.
11
- 3. Chat with Memory: Chat with the AI agent while retaining context from previous questions.
12
-
13
- ---
14
-
15
- # Plugin Setup Guide
16
-
17
- Follow these steps to set up the plugin properly:
18
-
19
- ---
20
-
21
- ### Step 1: Create a Mistral Account
22
-
23
- Go to [https://mistral.ai/](https://mistral.ai/) and create a free account.
24
-
25
- ### Step 2: Generate an API Token
26
-
27
- 1. Go to your **console**.
28
- 2. Click on the **"API Keys"** tab.
29
- 3. Click on the **"Create new key"** button.
30
- 4. Give your token a **name**.
31
- 5. Optionally set an **expiration date**.
32
- 6. Click **"Create new key"** to create your token.
33
-
34
- > **Important:** Copy the token and store it safely. You won't be able to see it again.
35
-
36
- ---
37
-
38
- ### Step 3: Configure in Valtimo
39
-
40
- 1. Go to **Valtimo** and open the **Plugins** tab.
41
- 2. Search for the **Valtimo LLM Plugin** with **(autodeployed)** behind it and click on it.
42
- 3. Paste the token you copied earlier into the **Token** field.
43
- 4. Click **"Save"** to store your configuration.
44
- 5. Repeat this for the other plugin **Valtimo LLM Plugin** so all processes are Executable.
45
-
46
- ---
47
-
48
- ### Step 4: Start Using the Plugin
49
-
50
- 1. Go to the **Autodeployed Case** under the tab **cases**.
51
- 2. Start a new **case**.
52
- 3. Select the **process** you want to start.
53
- 4. Fill in the **question** you want to ask.
54
- 5. Click **"Submit"** to send your question to the AI agent.
55
- 6. **Enjoy your conversation** with the AI agent!
56
- ---
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2015-2025 Ritense BV, the Netherlands.
3
- *
4
- * Licensed under EUPL, Version 1.2 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" basis,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export * from './valtimo-llm-plugin-logo';
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vLXBsdWdpbnMvdmFsdGltby1sbG0vc3JjL2xpYi9hc3NldHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIENvcHlyaWdodCAyMDE1LTIwMjUgUml0ZW5zZSBCViwgdGhlIE5ldGhlcmxhbmRzLlxuICpcbiAqIExpY2Vuc2VkIHVuZGVyIEVVUEwsIFZlcnNpb24gMS4yICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogaH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