@memori.ai/memori-api-client 0.10.1 → 0.10.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
 
2
2
 
3
+ ## [0.10.3](https://github.com/memori-ai/memori-api-client/compare/v0.10.2...v0.10.3) (2023-01-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * add completion flag in dialog state ([9d7b417](https://github.com/memori-ai/memori-api-client/commit/9d7b4170fe1bbfe575cd9dff1165ad01525e898c))
9
+
10
+ ## [0.10.2](https://github.com/memori-ai/memori-api-client/compare/v0.10.1...v0.10.2) (2023-01-20)
11
+
12
+
13
+ ### Maintenance
14
+
15
+ * add flag in Message for AI-generated msgs ([6ea6ae3](https://github.com/memori-ai/memori-api-client/commit/6ea6ae33897c92b6bc032f4d74b8137d4a360f8b))
16
+
3
17
  ## [0.10.1](https://github.com/memori-ai/memori-api-client/compare/v0.10.0...v0.10.1) (2023-01-20)
4
18
 
5
19
 
package/dist/types.d.ts CHANGED
@@ -306,6 +306,7 @@ export declare type DialogState = {
306
306
  confidence?: number;
307
307
  confidenceLevel?: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
308
308
  emission?: string;
309
+ completion?: boolean;
309
310
  continuationEmitted?: boolean;
310
311
  lastMatchedMemoryID?: string;
311
312
  acceptsTimeout?: boolean;
@@ -471,6 +472,7 @@ export declare type Message = {
471
472
  text: string;
472
473
  translatedText?: string;
473
474
  fromUser?: boolean;
475
+ generatedByAI?: boolean;
474
476
  media?: Medium[];
475
477
  initial?: boolean;
476
478
  timestamp?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.1",
2
+ "version": "0.10.3",
3
3
  "name": "@memori.ai/memori-api-client",
4
4
  "description": "React library to integrate a Memori in your app or website",
5
5
  "license": "Apache-2.0",
package/src/types.ts CHANGED
@@ -335,6 +335,7 @@ export declare type DialogState = {
335
335
  confidence?: number;
336
336
  confidenceLevel?: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
337
337
  emission?: string;
338
+ completion?: boolean;
338
339
  continuationEmitted?: boolean;
339
340
  lastMatchedMemoryID?: string;
340
341
  acceptsTimeout?: boolean;
@@ -504,6 +505,7 @@ export declare type Message = {
504
505
  text: string;
505
506
  translatedText?: string;
506
507
  fromUser?: boolean;
508
+ generatedByAI?: boolean;
507
509
  media?: Medium[];
508
510
  initial?: boolean;
509
511
  timestamp?: string;