@memori.ai/memori-api-client 2.6.1 → 2.6.2
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 +7 -0
- package/dist/types.d.ts +2 -0
- package/esm/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/types.ts +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [2.6.2](https://github.com/memori-ai/memori-api-client/compare/v2.6.1...v2.6.2) (2023-12-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Changes
|
|
7
|
+
|
|
8
|
+
* add chatlogs attributes for board of experts ([3d746a7](https://github.com/memori-ai/memori-api-client/commit/3d746a7ec97cfe05bc584b2f8b1fc5b6ca450d80))
|
|
9
|
+
|
|
3
10
|
## [2.6.1](https://github.com/memori-ai/memori-api-client/compare/v2.6.0...v2.6.1) (2023-12-08)
|
|
4
11
|
|
|
5
12
|
|
package/dist/types.d.ts
CHANGED
|
@@ -549,6 +549,7 @@ export type ChatLogLine = {
|
|
|
549
549
|
timestamp: string;
|
|
550
550
|
inbound: boolean;
|
|
551
551
|
text: string;
|
|
552
|
+
emitter?: string;
|
|
552
553
|
media?: ChatMedium[];
|
|
553
554
|
memoryID?: string;
|
|
554
555
|
contextVars?: {
|
|
@@ -563,6 +564,7 @@ export type ChatLog = {
|
|
|
563
564
|
memoriID: string;
|
|
564
565
|
sessionID: string;
|
|
565
566
|
receiverTag?: string;
|
|
567
|
+
boardOfExperts?: boolean;
|
|
566
568
|
lines: ChatLogLine[];
|
|
567
569
|
};
|
|
568
570
|
export type CorrelationPair = {
|
package/esm/types.d.ts
CHANGED
|
@@ -549,6 +549,7 @@ export type ChatLogLine = {
|
|
|
549
549
|
timestamp: string;
|
|
550
550
|
inbound: boolean;
|
|
551
551
|
text: string;
|
|
552
|
+
emitter?: string;
|
|
552
553
|
media?: ChatMedium[];
|
|
553
554
|
memoryID?: string;
|
|
554
555
|
contextVars?: {
|
|
@@ -563,6 +564,7 @@ export type ChatLog = {
|
|
|
563
564
|
memoriID: string;
|
|
564
565
|
sessionID: string;
|
|
565
566
|
receiverTag?: string;
|
|
567
|
+
boardOfExperts?: boolean;
|
|
566
568
|
lines: ChatLogLine[];
|
|
567
569
|
};
|
|
568
570
|
export type CorrelationPair = {
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -660,6 +660,12 @@ export type ChatLogLine = {
|
|
|
660
660
|
* Text of the line.
|
|
661
661
|
*/
|
|
662
662
|
text: string;
|
|
663
|
+
/**
|
|
664
|
+
* @type {string=}
|
|
665
|
+
* Name of the Memori that provided the text. Used with Board of Experts model.
|
|
666
|
+
* Null for inbound lines, if no Board of Experts is configured, or if the Memori providing the text is the chairman of the Board.
|
|
667
|
+
*/
|
|
668
|
+
emitter?: string;
|
|
663
669
|
/**
|
|
664
670
|
* Media attached with the Dialog State Machine emission, if present. Empty if the line is inbound.
|
|
665
671
|
*/
|
|
@@ -712,6 +718,11 @@ export type ChatLog = {
|
|
|
712
718
|
* Tag of the Person object authenticated in the session. Null if the chat was performed by anonymous.
|
|
713
719
|
*/
|
|
714
720
|
receiverTag?: string;
|
|
721
|
+
/**
|
|
722
|
+
* @type {?boolean}
|
|
723
|
+
* True if this chat log was performed with the Memori configured as a Board of Experts.
|
|
724
|
+
*/
|
|
725
|
+
boardOfExperts?: boolean;
|
|
715
726
|
|
|
716
727
|
/**
|
|
717
728
|
* List of Chat Line objects of this chat.
|