0

so i was combining discord bot with chatterbot. i tried to get a response from the bot using get_response() function and i used it like response = bot.get_response(input) but it seems like it just only accepts input from the console and not string input. if i enter from console, it does put the result in the response string. i haven't got any errors.

i have searched about it a lot and so far i haven't found anything useful.

any ideas? (also if you want to see the whole code, ask me)

4

1 回答 1

0

尝试这个:

input_adapter = 'chatterbot.input.VariableInputTypeAdapter',

而不是:

input_adapter = 'chatterbot.input.TerminalAdapter'
于 2018-01-11T16:04:27.443 回答