How do Markov Chain Chatbots work?

前端 未结 3 504
伪装坚强ぢ
伪装坚强ぢ 2021-01-29 17:44

I was thinking of creating a chatbot using something like markov chains, but I\'m not entirely sure how to get it to work. From what I understand, you create a table from data w

3条回答
  •  一生所求
    2021-01-29 18:07

    You could do like this: Make a order 1 markov chain generator, using words and not letters. Everytime someone post something, what he posted is added to bot database. Also bot would save when he gone to chat and when a guy posted the first post (in multiples of 10 seconds), then he would save the amount of time this same guy waited to post again (in multiples of 10 seconds)... This second part would be used to see when the guy will post, so he join the chat and after some amount of time based on a table with "after how many 10 seconds the a guy posted after joining the chat", then he would continue to post with the same table thinking "how was the amount of time used to write the the post that was posted after a post that he used X seconds to think about and write"

提交回复
热议问题