ravedata / Circus

0 stars 0 forks source link

How to add Custom Corpus file and train it? #2

Open ravedata opened 7 years ago

ravedata commented 7 years ago

My folder structure :- Circus -->example_app-->CustomCorpus -->oneWindow.yml

and settings are as follows.

CHATTERBOT = { 'name': 'Django ChatterBot Example', 'logic_adapters': [ "chatterbot.logic.MathematicalEvaluation", "chatterbot.logic.BestMatch" ], 'trainer': 'chatterbot.trainers.ChatterBotCorpusTrainer', 'training_data': [ '.\example_app\CustomCorpus' ] } This is the resolution.

ayushecps commented 7 years ago

Hello,

we was trying otherway around and found that if we place .yml file in chatterbot library folder then in that case we will not require any change in code. and it work fine as if now.

ravedata commented 7 years ago

But, in live code. We cannot place our SPI info on a public platform.

Please try placing files in local folder.

On Sep 2, 2017 2:25 PM, "ayushecps" notifications@github.com wrote:

Hello,

we was trying otherway around and found that if we place .yml file in chatterbot library folder then in that case we will not require any change in code. and it work fine as if now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vedantnarayan/Circus/issues/2#issuecomment-326731986, or mute the thread https://github.com/notifications/unsubscribe-auth/ATRA2An4p1ZLVfzsVNmJn8veZn4Uud3vks5seRgIgaJpZM4PK1km .