battle programmers alliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.

battle programmers allianceLog in

the LivinGrimoire Artificial General Intelligence software design pattern forum

descriptionElizaDeducer enables logical deductions from strings EmptyElizaDeducer enables logical deductions from strings

more_horiz
https://github.com/yotamarker/public-livinGrimoire/blob/master/livingrimoire%20start%20here/LivinGrimoire%20java/AXJava/ElizaDeducer.java
(the classes are ported to other languages as usual)
main example in Java:

Code:

        ElizaDeducer elizaDeducer = new ElizaDeducerInitializer();
        RailChatBot chatBot = new RailChatBot();
        chatBot.learnV2("a overslept because b played vidya all night long",elizaDeducer);
        chatBot.learnV2("one",elizaDeducer);
        chatBot.learnV2("two",elizaDeducer);
        System.out.println(chatBot.respondDialog("a played vidya all night long"));
        System.out.println(chatBot.respondDialog("one"));

output:
i guess a overslept
two

the ElizaDeducerInitializer(sub class of the ElizaDeducer), contains logic chunks

https://github.com/yotamarker/public-livinGrimoire/blob/master/livingrimoire%20start%20here/LivinGrimoire%20java/AXJava/ElizaDeducerInitializer.java

here is an example of one:
logic chunk:

Code:

        because1.add(new AXKeyValuePair("{1}","i guess {0}"));
        babbleTmp.add(new PhraseMatcher("(.*) because (.*)", because1)); // end because


lots of customized logic chunks can be added:
if, or and other Boolean combos
premises and their respective conclusions
Wh questions
out of the box customized logic

this means, when the RailChatBot(LLM) is fed this strings it also creates responses to
clue triggers.

in the above example "a played vidya all night long" is a deduced trigger that was never explicitly
input.

descriptionElizaDeducer enables logical deductions from strings EmptyRe: ElizaDeducer enables logical deductions from strings

more_horiz
https://rumble.com/v4pmu4h-waifubot-deduction-skill-test.html
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply