Giter Site home page Giter Site logo

chatter-bot-api's People

Stargazers

 avatar

chatter-bot-api's Issues

Ruby version of the library

What about a Ruby version of this library ?

I you want it, please STAR this issue.

Please, also, let me know what you think about:
- if I should make a gem, or just distribute a .rb?
- the Ruby version I should support?
- if I use or not some gem dependencies?

Original issue reported on code.google.com by [email protected] on 27 Sep 2011 at 9:11

Support Diego Bot


http://www.soydiego.com/SoyDiego/

hint: this web site is using simple dwr remote javascript calls

Original issue reported on code.google.com by [email protected] on 19 Jul 2013 at 1:47

ExpatError: not well-formed (invalid token)

What steps will reproduce the problem?
1. Start bot-chat
2. keep chating for a while
3. crash:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "bot.py", line 178, in bot
    AI(group,peer,message)
  File "bot.py", line 84, in AI
    reply=callmodule(message,peer)
  File "bot.py", line 62, in callmodule
    reply = botsessions[peer].think(message)
  File "/home/ufa/Programas_priv/tg/python-telegram-bot/chatterbotapi.py", line 61, in think
    return self.think_thought(thought).text
  File "/home/ufa/Programas_priv/tg/python-telegram-bot/chatterbotapi.py", line 153, in think_thought
    response_dom = xml.dom.minidom.parseString(response)
  File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1931, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
ExpatError: not well-formed (invalid token): line 8, column 5


What is the expected output? What do you see instead?
Chatting forever


What version of the product are you using? On what operating system?
Latest on Fedora Linux latest


Please provide any additional information below.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "bot.py", line 178, in bot
    AI(group,peer,message)
  File "bot.py", line 84, in AI
    reply=callmodule(message,peer)
  File "bot.py", line 62, in callmodule
    reply = botsessions[peer].think(message)
  File "/home/ufa/Programas_priv/tg/python-telegram-bot/chatterbotapi.py", line 61, in think
    return self.think_thought(thought).text
  File "/home/ufa/Programas_priv/tg/python-telegram-bot/chatterbotapi.py", line 153, in think_thought
    response_dom = xml.dom.minidom.parseString(response)
  File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1931, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
ExpatError: not well-formed (invalid token): line 8, column 5




Original issue reported on code.google.com by [email protected] on 10 Oct 2014 at 1:48

IndexError: list index out of range in chatterbotapi.py

What steps will reproduce the problem?
1. Use chatterbotapi with telegram 
(https://github.com/asdofindia/python-telegram-bot)
2. chat with bot
3. crash:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "bot.py", line 178, in bot
AI(group,peer,message)
File "bot.py", line 84, in AI
reply=callmodule(message,peer)
File "bot.py", line 62, in callmodule
reply = botsessions[peer].think(message)
File ".../python-telegram-bot/chatterbotapi.py", line 58, in think
return self.think_thought(thought).text
File "/.../python-telegram-bot/chatterbotapi.py", line 152, in think_thought
response_thought.text = 
response_dom.getElementsByTagName('that')[0].childNodes[0].data.strip()
IndexError: list index out of range

What is the expected output? What do you see instead?
No output, just chat :)


What version of the product are you using? On what operating system?
Python2 and Linux (Fedora)


Please provide any additional information below.

I am using your API with Telegram: 
https://github.com/asdofindia/python-telegram-bot


Original issue reported on code.google.com by [email protected] on 8 Oct 2014 at 5:11

Port code into 4.0

Currently, the code is using .net framework 3.5! Could you please consider 
porting it into .net 4.0 as it is quite useful, this api.

Original issue reported on code.google.com by [email protected] on 19 Oct 2011 at 5:32

Please remove all postings where you display code for connecting to Cleverbot and Jabberwacky

An Email I received from Rollo Carpenter ([email protected]):

Please remove all postings where you display code for connecting to Cleverbot 
and Jabberwacky. There is no public API, and it is clearly stated that no 
access is granted. Serving the AI is complex, costly and not supported by any 
funding.
Rollo
Cleverbot.com

Original issue reported on code.google.com by [email protected] on 12 Dec 2011 at 5:59

Think() returning null

What steps will reproduce the problem?
1. Create a new Console app in Visual Studio C# 2010
2. Prepare code just like the main example
3. Think() always returns null

What is the expected output? What do you see instead?
Think() should not return null

What version of the product are you using? On what operating system?
1.0, Windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 4:23

Issues with Python 2.7

When I try to use this with Python 2.7 I get this error:

[andy@other clever]$ python chatter2.py 
  File "chatterbotapi.py", line 101
    self.vars['sessionid'] = response_values[1] if len(response_values) > 1 else ''
                                                 ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "chatter2.py", line 7, in ?
    from chatterbotapi import ChatterBotFactory, ChatterBotType
  File "/var/www/hacks.apidoctor.com/clever/chatterbotapi.py", line 101
    self.vars['sessionid'] = response_values[1] if len(response_values) > 1 else ''
                                                 ^
SyntaxError: invalid syntax

Original issue reported on code.google.com by [email protected] on 9 Nov 2011 at 2:07

Android support

What steps will reproduce the problem?
1. create an android project :)
2. try using think function with cleverbot (did not try with other bots)

What is the expected output? What do you see instead?
i expect cleverbot to think :D but it throws exception

What version of the product are you using? On what operating system?
1.3 chatter-bot jar, win8.1 android api19 (4.4 KitKat)

Please provide any additional information below.
first, there is a problem with Pandorabots. in line 42, you are using UID from 
java.rmi.server.UID, and it is not supported in android.
secondly, cleverbot is having a hard time chatting too. utils class, line 67. 
the problem is that the you can't start network process on main thread. it 
throws NetworkOnMainThreadException. the cure to this is using asynctask. i'm 
trying to make it work, but i have no success yet. if i do, i will send it to 
you :)

have a nice day

Original issue reported on code.google.com by [email protected] on 24 Sep 2014 at 6:04

PHP version of the library

What about a PHP version of this library ?

I you want it, please STAR this issue.

Please, also, let me know what you think about:
- the PHP version I should support?
- if I use or not some dependencies (like curl for example)?

Original issue reported on code.google.com by [email protected] on 21 Sep 2011 at 11:59

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.