Search
Preparing search index...
The search index is not available
@conversationlearner/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
CLMemory
Class CLMemory
Hierarchy
CLMemory
Index
Constructors
constructor
Properties
mem
Cache
turn
Context
userkey
memory
Storage
Accessors
Bot
Memory
Bot
State
Turn
Context
Methods
Delete
Async
Get
Async
Key
Set
App
Async
Set
Async
Get
Memory
Init
Init
Memory
Constructors
Private
constructor
new CLMemory
(
userkey
:
string
)
:
CLMemory
Parameters
userkey:
string
Returns
CLMemory
Properties
Private
mem
Cache
mem
Cache
:
object
Type declaration
Private
turn
Context
turn
Context
:
TurnContext
|
undefined
Private
userkey
userkey
:
string
Static
Private
memory
Storage
memory
Storage
:
Storage
|
null
= null
Accessors
Bot
Memory
get
BotMemory
(
)
:
BotMemory
Returns
BotMemory
Bot
State
get
BotState
(
)
:
BotState
Returns
BotState
Turn
Context
get
TurnContext
(
)
:
TurnContext
|
undefined
Returns
TurnContext
|
undefined
Methods
Delete
Async
Delete
Async
(
datakey
:
string
)
:
Promise
<
void
>
Parameters
datakey:
string
Returns
Promise
<
void
>
Get
Async
Get
Async
(
datakey
:
string
)
:
Promise
<
any
>
Parameters
datakey:
string
Returns
Promise
<
any
>
Private
Key
Key
(
datakey
:
string
)
:
string
Parameters
datakey:
string
Returns
string
Set
App
Async
Set
App
Async
(
app
:
AppBase
|
null
)
:
Promise
<
void
>
Parameters
app:
AppBase
|
null
Returns
Promise
<
void
>
Set
Async
Set
Async
(
datakey
:
string
, jsonString
:
string
)
:
Promise
<
void
>
Parameters
datakey:
string
jsonString:
string
Returns
Promise
<
void
>
Static
Get
Memory
Get
Memory
(
key
:
string
)
:
CLMemory
Parameters
key:
string
Returns
CLMemory
Static
Init
Init
(
memoryStorage
:
Storage
|
null
)
:
void
Parameters
memoryStorage:
Storage
|
null
Returns
void
Static
Init
Memory
Init
Memory
(
turnContext
:
TurnContext
)
:
Promise
<
CLMemory
>
Parameters
turnContext:
TurnContext
Returns
Promise
<
CLMemory
>
Globals
CLMemory
constructor
mem
Cache
turn
Context
userkey
memory
Storage
Bot
Memory
Bot
State
Turn
Context
Delete
Async
Get
Async
Key
Set
App
Async
Set
Async
Get
Memory
Init
Init
Memory
Generated using
TypeDoc