ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

Training wont work - AttributeError: 'ChatBot' object has no attribute 'find'

Open ufgtftcbtcut opened this issue 3 years ago • 5 comments

AttributeError: 'ChatBot' object has no attribute 'find'

Chatterbot 1.0.8

The code is the ListTrainer quickstart example from the docs

I dont think theres any problems with my code, its a problem with the module

ufgtftcbtcut avatar May 06 '22 09:05 ufgtftcbtcut

Faced this a long ago and quit chatterbot. Today I need chatterbot for a project and came to report this issue. And found this was issued 3 days ago. Hoping quick response from the maintainers. Please :)

SunPodder avatar May 09 '22 12:05 SunPodder

@Ufgtftcbtcut found a solution after few google searches. Use ListTrainer(chatbot.storage) instead of ListTrainer(chatbot).

See this

SunPodder avatar May 09 '22 14:05 SunPodder

Oh. Then, can the docs be updated?

ufgtftcbtcut avatar May 10 '22 03:05 ufgtftcbtcut

@Ufgtftcbtcut found a solution after few google searches. Use ListTrainer(chatbot.storage) instead of ListTrainer(chatbot).

See this

Thank you very much solved.

dev-sandrosantos avatar Jun 10 '22 22:06 dev-sandrosantos

邮件已收到,谢谢您!

jocelyn1981 avatar Jun 10 '22 22:06 jocelyn1981