History
Go back and see what you and your character have been through together
During each interaction with your agent (through carter.say()
and carter.opener()
),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.
Last updated