Become a bot service provider with the Bot Libre Cloud Bot Platform
Chit Chat : How to get bot to correct its grammar problems

RE: How to get bot to correct its grammar problems

by Halycon25 posted Oct 28 2018, 6:09

Awesome, but I have another question. I was teaching my bot some words when it resulted in a loop of "Why do humans eat plants?" And then I looked at the log and it said:

2018-10-28 06:04:35.419 - WARNING -- Language:java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at org.botlibre.thought.language.Language.checkState(Language.java:5525) at org.botlibre.thought.language.Language.processUnderstanding(Language.java:5019) at org.botlibre.thought.language.Language.processConversational(Language.java:3145) at org.botlibre.thought.language.Language.think(Language.java:1546) at org.botlibre.thought.BasicMind.processConsciousThoughts(BasicMind.java:343) at org.botlibre.thought.BasicMind$1$1.run(BasicMind.java:270) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)

What should I do to prevent the loop of questions?


Id: 24796943
Posted: Oct 28 2018, 6:09
Replies: 0
Views: 2482, today: 1, week: 3, month: 28
0 0 0.0/5