train chatterbot using yml

Solutions on MaxInterview for train chatterbot using yml by the best coders in the world

showing results for - "train chatterbot using yml"
Rogelio
24 Apr 2018
1from chatterbot import ChatBot
2from chatterbot.trainers import ChatterBotCorpusTrainer
3
4bot = ChatBot(
5    "Chat Bot",
6    storage_adapter="chatterbot.storage.SQLStorageAdapter",
7    database="botData.sqlite3"
8)
9
10trainer = ChatterBotCorpusTrainer(chatbot)
11
12trainer.train("data/trainingdata.yml")