Overview / MemoryMessage
MemoryMessage
MemoryMessage:
object
& {role
:"AI"
;why
: {input
:string
;interactions
:ModelInteraction
[];intermediateSteps
:IntermediateStep
[];memory
:WorkingMemory
; }; } | {role
:"User"
; }
The content of a memory message.
Type declaration
Name | Type |
---|---|
role | "AI" | "User" |
what | string |
when | number |
who | string |