History
Go back and see what you and your agent have been through together
During each interaction with your agent, carter-js
will log the interaction to the Carter Object's history
property. This property stores an array of all the interactions with your Carter agent while your program is running, the most recent being at the start of the array. You can access these in a couple of ways.
carter-js
will not log an interaction in history if it is unsuccessful.
Conversation Entries
The Carter.history
array stores an array of ConversationEntry
objects.
isoTimestamp: A timestamp string in ISO 8601 format.
interaction: An interaction object.
Last updated