@memori.ai/memori-api-client 0.9.0 → 0.10.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/CHANGELOG.md +20 -0
- package/dist/engine/memories.d.ts +1 -1
- package/dist/memori-api-client.cjs.development.js.map +1 -1
- package/dist/memori-api-client.cjs.production.min.js.map +1 -1
- package/dist/memori-api-client.esm.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
- package/src/engine/memories.ts +1 -1
- package/src/types.ts +4 -0
package/dist/types.d.ts
CHANGED
|
@@ -542,6 +542,10 @@ export declare type ChatLogLine = {
|
|
|
542
542
|
* Media attached with the Dialog State Machine emission, if present. Empty if the line is inbound.
|
|
543
543
|
*/
|
|
544
544
|
media?: ChatMedium[];
|
|
545
|
+
/**
|
|
546
|
+
* ID of the Memory object referenced in this line.
|
|
547
|
+
*/
|
|
548
|
+
memoryID?: string;
|
|
545
549
|
/**
|
|
546
550
|
* Dialog State Machine context variables after the emission, if present. Empty if the line is inbound.
|
|
547
551
|
*/
|
package/package.json
CHANGED
package/src/engine/memories.ts
CHANGED
|
@@ -33,7 +33,7 @@ export default (apiUrl: string) => ({
|
|
|
33
33
|
sessionId: string,
|
|
34
34
|
from: number,
|
|
35
35
|
howMany: number,
|
|
36
|
-
type?: 'ALL' | 'CONTENTS' | 'DEFAULTS'
|
|
36
|
+
type?: 'ALL' | 'CONTENTS' | 'DEFAULTS' | 'DRAFTS'
|
|
37
37
|
) =>
|
|
38
38
|
apiFetcher(
|
|
39
39
|
`/Memories/${sessionId}/${from}/${howMany}${type ? `/${type}` : ''}`,
|
package/src/types.ts
CHANGED
|
@@ -575,6 +575,10 @@ export type ChatLogLine = {
|
|
|
575
575
|
* Media attached with the Dialog State Machine emission, if present. Empty if the line is inbound.
|
|
576
576
|
*/
|
|
577
577
|
media?: ChatMedium[];
|
|
578
|
+
/**
|
|
579
|
+
* ID of the Memory object referenced in this line.
|
|
580
|
+
*/
|
|
581
|
+
memoryID?: string;
|
|
578
582
|
/**
|
|
579
583
|
* Dialog State Machine context variables after the emission, if present. Empty if the line is inbound.
|
|
580
584
|
*/
|