the living grimoire wiki mirror Living-Grimoire-Front-Cover-PNG

the Living Grimoire (or the livingrimoire) is a software design pattern created by Moti Barski it was published on the battle programmers forum at yotamarker.com.

with the github at https://github.com/yotamarker/public-livinGrimoire

as of may 2022 the project has been available in several programming languages including :

java kotlin python

principle of work :
skills or abilities can be added to an instance of a living grimoire (a chobit class) via the personality class's object instance using just one line of code

much like the learning scene in the movie matrix, in which Neo has skills installed in his mind, such as kung fu

the skills logic is kept inside the skill itself

when conditions are met the skill is triggered and it will send out an algorithm, which is a list of actions known as algorithm parts, to run.

the brain class was created to address the issue of cluttered main classes it can be used to keep all the hardware logic code such as converting a string of output text into audio, for example.

the objectives of the living grimoire

1 make coding simple. the main objective the Living Grimoire accomplishes is in reducing the task of coding to simply use 1 line of code to add a skill or 1 line of code to choose a personality, which is a skill set

2 organization : the abilities of the living grimoire are packet neatly in their respective skills

3 the Living Grimoire was developed for the purpose of developing waifubots, robotic girlfriends. users may publish skills in the Living Grimoire forums or post demos of skills for sale.

in this way users may choose skills or hardware beef ups they wish for their waifubot and add this skills using 1 line of code.

4 ease of collaboration

to collaborate with anyone on a project, all that is needed to do is add his skill to the living grimoire instance using 1 line of code

key differences between the living grimoire and assistants such as Alexa, Bixby and Siri

1 make coding simple. the main objective the Living Grimoire accomplishes is in reducing the task of coding to simply use 1 line of code to add a skill or 1 line of code to choose a personality, which is a skill set

2 organization : the abilities of the living grimoire are packet neatly in their respective skills

3 the Living Grimoire was developed for the purpose of developing waifubots, robotic girlfriends. users may publish skills in the Living Grimoire forums or post demos of skills for sale.

in this way users may choose skills or hardware beef ups they wish for their waifubot and add this skills using 1 line of code.

4 ease of collaboration

to collaborate with anyone on a project, all that is needed to do is add his skill to the living grimoire instance using 1 line of code

key differences between the living grimoire and assistants such as Alexa, Bixby and Siri

1 swift ability to absorb any skill using one line of code
2 fusion and communication between skills : several skills can run together, pausing and resuming one another as needed
3 priority of skills : for example fight or flight type skills take priority over other skills to protect what is dearest to the AI
4 can form multistep algorithms to achieve goals
5 actions can mutate upon failure.
6 skill levels 1 and 2 require the user to use the chobits name or hidden name to engage while skill level 0 require no inate special permission to engage
7 no censorship
8 step by step walkthrough documentation
9 fully customizable TTS

hello world example (python main):

Code:

from abc import ABC, abstractmethod
from LivinGrimoireCore import *

class Personality2(PersonalityLight):
    # Override
    def __init__(self, *absDictionaryDB: AbsDictionaryDB):
        super().__init__(absDictionaryDB)
        super().getdClassesLv1().append(DiHelloWorld(self.getKokoro()))


if __name__ == "__main__":
    test_personality: Personality2 = Personality2()
    chii: ChobitsLight = ChobitsLight(test_personality)
    result = chii.think("hello", "", "")
    print(result)


the Living Grimoire classes list

the Living Grimoire classes list
AbsDictionaryDB
AbsDictionaryDBShadow
enumFail
Mutatable
T1, T2 (test classes) //// used for testing. not core classes
AbsAlgPart
APSay
APVerbatim
Person //not core class
enumTimes
PlayGround // not core class
GrimoireMemento
Algorithm
CldBool
APCldVerbatim
Kokoro
Chi
Neuron
DISkillUtils
DiSkillV2
Point // not core class
RegexUtil // not core class
ZeroTimeGate
Cerabellum
DExplorer(DiSkillV2)
PriorityQueue
Fusion
FusionCera
Thinkable
Actionable
Brain
PersonalityLight
ChobitsLight(Thinkable)
DiHelloWorld(DiSkillV2) // used for testing. not a core class
books about the LivinGrimoire

1 the living grimoire by Moti Barski : a detailed explanation with examples about the living grimoire project

https://github.com/yotamarker/public-livinGrimoire/blob/master/livingrimoire%20start%20here/the%20living%20grimoie.pdf

2 Auxiliary Modules for the livingrimoire by Moti Barski: modules that ease writing skills and make the waifubot more human

https://github.com/yotamarker/public-livinGrimoire/blob/master/livingrimoire%20start%20here/Auxiliary%20Modules%20for%20the%20livingrimoire.pdf

_________________
kurayami no kagi :admin: