AI Zone Admin Forum Add your forum

CHATBOT MEETUP CHATBOT MEETUP CHATBOT MEETUP CHATBOT CHATBOT MEETUP CHATBOT MEETUP CHATBOT MEETUP CHATBOT MEETUP

On June 28th, 2017 we're organizing our next Chatbot Meetup in Amsterdam, The Netherlands. Feel free to join!'

list all the previous exchanges
 
 

In ChatScript, is it possible to list all the previous exchanges?

Bot: What’s your name?
Me: I’m Ludan.
Bot: How are you?
Me: I’m fine with ChatScript.
...

I’d like to do list all the sentences, said by the bot and the user, directly in ChatScript.
xxx[1] => Bot: What’s your name?
xxx[2] => I’m Ludan.
etc.

Is there a built-in command? Do I need to parse log files?

 

 
  [ # 1 ]

you can choose to save them yourself, and hence dump them out IF you are doing from the bot. Otherwise the :trim command reads a log file to generate a file of such

 

 
  [ # 2 ]

Thx. I’ll probably do it from the bot, with a popen that launches a :trim, and I’ll retrieve the output.

 

 
  login or register to react