Class: MemoryConversationContext

MemoryConversationContext(settings)

In memory conversation context manager.

Constructor

new MemoryConversationContext(settings)

Constructor of the class.
Parameters:
Name Type Description
settings Object Settings for the instance.
Source:

Methods

getConversationContext(session) → {Promise.<Object>}

Gets the conversation context from the session.
Parameters:
Name Type Description
session Object Chatbot session of the conversation.
Source:
Returns:
Promise to resolve the conversation context.
Type
Promise.<Object>