Git Product home page Git Product logo

Comments (7)

keiffster avatar keiffster commented on July 19, 2024

Just had a quick check this morning and I can reproduce this, it seems "HI my name is Marco" causes the loop, but "Hello my name is Marco" doesn't cause the problem. I'll take a more detailed look this evening and see what is happening in Alice2 grammar

If you are looking for error messages, the current default config is to write the output to /tmp/rosiebot/log, so you can tail this to see the output. If you want to change where the output goes, change logging.yaml as per python logging format

K

from program-y.

keiffster avatar keiffster commented on July 19, 2024

So I took a look at alice2 grammar, I haven't used it for a while, but downloaded it when I first started looking at program-ab implementation of aiml 2.0

As i assumed alice2 is not a fully aiml 2.0 compliant grammar. It was built by Pandora Bots, the company run by Dr Richard Wallace, but it contains a lot of grammar components not actually defined in the aiml 2.0 spec which seems to cause all sorts of behaviours

I know this app currently doesn't support and doesn't handle all html tags that well, but in this grammar ( and also in Rose, another grammar published by Pandora as a starting point there are hard coded sets ( eg. successor, predocessor etc ), undocumented tags ( eg. )

I'm working through them with a view to have Rosie fixed and aiml 2.0 compliant over xmas, and to then update the documentation ( of this bot and aiml ) to reflect an accurate set of tags needed for 2.0

Until then I would use Rosie as a base for your tests and keep an eye on the releases as I'll be updating program-y and rosie at irregular intervals over xmas while I work on her

K

from program-y.

linediconsine avatar linediconsine commented on July 19, 2024

Thanks,

I will stay tuned,
have a great holidays!

Marco

from program-y.

Lzrnk avatar Lzrnk commented on July 19, 2024

The same error if enter something unknown to alice2
like "abc", "dibidu", "anyname"
1 min no response and 100% cpu load

from program-y.

linediconsine avatar linediconsine commented on July 19, 2024

Adding link for reference:
http://stackoverflow.com/questions/3323001/maximum-recursion-depth

from program-y.

linediconsine avatar linediconsine commented on July 19, 2024

HI Keiffster,
In my test the problem is in the loop on bot.py

Line " for each_sentence in question.sentences:"
and this did not depends on number of AIML file/category

Thanks

from program-y.

keiffster avatar keiffster commented on July 19, 2024

New release just pushed, sorry for the delay, been down with Xmas and a horrible cold, so only got back into checking the release a few days ago

from program-y.

Related Issues (20)

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.