-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
always has a b' or a b" #27
Comments
Did you mod the chatterbotapi.py file ? Can you paste here whats in your chatterbotapi.py file, near the lines 73 and 144 |
thought.text = text class ChatterBotThought:
################################################# Cleverbot impl################################################# class _Cleverbot(ChatterBot):
class _CleverbotSession(ChatterBotSession):
hashlib.md5(data_to_digest.encode('utf-8')).hexdigest() self.vars['emotionalhistory'] =_utils_string_at_index(response_values, 12) self.vars['ttsLocMP3'] = _utils_string_at_index(response_values,self.vars['ttsLocTXT'] = _utils_string_at_index(response_values,self.vars['ttsLocTXT3'] = _utils_string_at_index(response_values,self.vars['ttsText'] = _utils_string_at_index(response_values, 16)self.vars['lineRef'] = _utils_string_at_index(response_values, 17)self.vars['lineURL'] = _utils_string_at_index(response_values, 18)self.vars['linePOST'] = _utils_string_at_index(response_values, 19)self.vars['lineChoices'] = _utils_string_at_index(response_values,self.vars['lineChoicesAbbrev'] =_utils_string_at_index(response_values, 21) self.vars['typingData'] = _utils_string_at_index(response_values,self.vars['divert'] = _utils_string_at_index(response_values, 23)
On Tue, May 10, 2016 at 3:03 PM, Pierre-David Bélanger <
|
This is strange.
|
I am running this on windows, with python idle but on another pc and it
|
I do not have access to Windows, so I can not reproduce this strange bug. Also, before your program (after the
Anyways, I guess it has something to do with your OS regional or locale settings. |
I don't know what I'm doing wrong this is my code
and here is the output
bot1> Hi
bot2> b'Ja jestem ch\xc5\x82opakiem palancie.
bot1> b"That's not english.
bot2> b'Yash, it is.
bot1> b"Your last message was, but not the one before.
bot2> b'What are you doing?
bot1> b"Talking to you. What are you doing?
bot2> b'Talking with you. I think.
bot1> b"Ohhh, that was suprising.
The text was updated successfully, but these errors were encountered: