Chatterbot: How to remove 'No value for search_text was available on provided input'

Created on 28 Jan 2019  路  3Comments  路  Source: gunthercox/ChatterBot

Using the chatbot version 1.5.2b0
ChatterBot 1.0.1
chattebot-corpus 1.2.0

capturecb

answered

Most helpful comment

you have to import the logging module and set the log level to CRITICAL

import logging logger = logging.getLogger() logger.setLevel(logging.CRITICAL)

All 3 comments

you have to import the logging module and set the log level to CRITICAL

import logging logger = logging.getLogger() logger.setLevel(logging.CRITICAL)

We can also save our logs to external file so that while running the code everything is saved in that file.
import logging
logging.basicConfig(filename='example.log',level=logging.DEBUG)

You may also change the logging levels in level argument

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AmusingThrone picture AmusingThrone  路  3Comments

hochochoc picture hochochoc  路  3Comments

Jackojc picture Jackojc  路  4Comments

engrphil picture engrphil  路  3Comments

decode007 picture decode007  路  4Comments