Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

chatterbot python

from chatterbot.trainers import ListTrainer

trainer = ListTrainer(bot)

trainer.train([
    'How are you?',
    'I am good.',
    'That is good to hear.',
    'Thank you',
    'You are welcome.',
])
Source by chatterbot.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #chatterbot #python
ADD COMMENT
Topic
Name
6+7 =