Comments (7)
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.
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.
Thanks,
I will stay tuned,
have a great holidays!
Marco
from program-y.
The same error if enter something unknown to alice2
like "abc", "dibidu", "anyname"
1 min no response and 100% cpu load
from program-y.
Adding link for reference:
http://stackoverflow.com/questions/3323001/maximum-recursion-depth
from program-y.
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.
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)
- Programy on PythonAnywhere HOT 1
- Program-Y is alive.... again HOT 2
- <system> tag in aiml doesn't work HOT 1
- scheduling extension doesn't print message
- Error when trying to save data from 'learnf' elements to MongoDB HOT 2
- Wikipedia doesn't seam to work HOT 1
- <learn> and <star> don't work together HOT 1
- How to get a variable value outside of aiml files inside python code?
- Setting SentenceSplitter on an embedded bot HOT 4
- Whenever I install program y, cryptography fails to install and the whole installation stops.
- Bug in pattern parser where the star index of the words will change
- WARNING:root:[Console] [bot] [brain] [testuser] - System command node disabled in config
- ModuleNotFoundError: No module named 'sqlalchemy'
- Pattern matching not work in a right way
- image not displaying in telegram
- GUI for my bot (Not a feature request I was just unsure where to ask) HOT 1
- Change Default Response
- AttributeError: module 'collections' has no attribute 'MutableSet' HOT 4
- module apscheduler not found
- Thoughts about ChatGPT service for ProgramY
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from program-y.