AxAIMemory
Interface: AxAIMemory
Methods
add()
add(
result
,sessionId
?):void
Parameters
• result: Readonly
<Readonly
<object
| object
| object
| object
> | Readonly
<object
| object
| object
| object
>[]>
• sessionId?: string
Returns
void
Defined in
addResult()
addResult(
result
,sessionId
?):void
Parameters
• result: Readonly
<AxChatResponseResult
>
• sessionId?: string
Returns
void
Defined in
getLast()
getLast(
sessionId
?):undefined
|Readonly
<object
|object
|object
|object
>
Parameters
• sessionId?: string
Returns
undefined
| Readonly
<object
| object
| object
| object
>
Defined in
history()
history(
sessionId
?):Readonly
<object
|object
|object
|object
>[]
Parameters
• sessionId?: string
Returns
Readonly
<object
| object
| object
| object
>[]
Defined in
reset()
reset(
sessionId
?):void
Parameters
• sessionId?: string
Returns
void
Defined in
updateResult()
updateResult(
result
,sessionId
?):void
Parameters
• result: Readonly
<AxChatResponseResult
>
• sessionId?: string
Returns
void