Constructor
new MemoryConversationContext(settings)
Constructor of the class.
Parameters:
Name | Type | Description |
---|---|---|
settings |
Object | Settings for the instance. |
Methods
getConversationContext(session) → {Promise.<Object>}
Gets the conversation context from the session.
Parameters:
Name | Type | Description |
---|---|---|
session |
Object | Chatbot session of the conversation. |
Returns:
Promise to resolve the conversation context.
- Type
- Promise.<Object>