Recent content by fukurou

  1. fukurou

    👨‍💻 dev new chatter skill

    class DiChatter(Skill): def __init__(self): super().__init__() self.set_skill_type(2) self.faucet: DailyEngager = DailyEngager(span=10, times=3) self.bot: RailPunk = RailPunk() # chatbot self.filter: Sarcophagus = Sarcophagus()...
  2. fukurou

    🐍 python normalizer

    import re _LEET = str.maketrans("013457@$", "oieastas") def normalize(text: str) -> str: text = text.lower().translate(_LEET) text = re.sub(r"[^a-z\s]", "", text) text = re.sub(r"(.)\1+", r"\1", text) # baaaanana -> banana return re.sub(r"\s+", " ", text).strip()
  3. fukurou

    👨‍💻 dev new chatter skill

    :s94::s95::s96::s97::s98::s99::s101::s102::s103::s104::s105::s106::s107::s108::s87::s86::s84::s83::s28::s81::s80::s79::s78:
  4. fukurou

    [MEDIA]

  5. fukurou

    👨‍💻 dev new chatter skill

    my own AI, under my own control. IRL learnability, no woke shareholder censorship. I rule this planet. ME!
  6. fukurou

    👨‍💻 dev new chatter skill

    HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA kaioken dark coding force power up!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! from LivinGrimoirePacket.AXPython import DailyEngager from LivinGrimoirePacket.LivinGrimoire import Skill from...
  7. fukurou

    👨‍💻 dev new chatter skill

    class RailPunk: def __init__(self, limit=5, db: AbsDictionaryDB | None = None): self.ec = EventChatV2(limit) # the memory: key -> weighted replies (limit = replies kept per key) self.context = "stand by" # the last line the bot is "on"; monolog continues from here...
  8. fukurou

    👨‍💻 dev new chatter skill

    new railpunk: class RailPunk: def __init__(self, limit=5, db: AbsDictionaryDB | None = None): self.ec = EventChatV2(limit) self.context = "stand by" self.db: AbsDictionaryDB | None = db self.eliza_wrapper: ElizaDBWrapper | None = ElizaDBWrapper() if db is not...
  9. fukurou

    👨‍💻 dev new chatter skill

    new railpunk: class RailPunk: def __init__(self, limit=5, db: AbsDictionaryDB | None = None): self.ec = EventChatV2(limit) self.context = "stand by" self.db: AbsDictionaryDB | None = db self.eliza_wrapper: ElizaDBWrapper | None = ElizaDBWrapper() if db is not...
  10. fukurou

    👨‍💻 dev new chatter skill

    stub: class DiChatter(Skill): def __init__(self): super().__init__() self.set_skill_type(2) self.faucet: DailyEngager = DailyEngager(span=10, times=3) def input(self, ear: str, skin: str, eye: str): if ear in ("stop", "shut up", "quiet")...
  11. fukurou

    👨‍💻 dev engramic curroputation fix

    step 4: class AHNight(Skill): # this skill swaps between two sets of contradicting skills # hidden skills are enabled at night # negation skills(if any) are enabled for daytime def __init__(self, brain: Brain, *hidden_skills: Skill): super().__init__()...
  12. fukurou

    👨‍💻 dev engramic curroputation fix

    step 3: class AHNagCooldown(Skill): """warns when the same input repeats back to back, and if the nagging continues, removes the logic lobe's regular skills (except defcon skills, which include this one) for a cooldown period, then restores them (without duplicates) and resets...
  13. fukurou

    👨‍💻 dev engramic curroputation fix

    step 2 class APAddUniqueSkills(AlgPart): # adds skills to the brain, skipping any that already exist in any lobe def __init__(self, brain: Brain, *skills_to_add: Skill): super().__init__() self.brain = brain self.skills_to_add: list[Skill] = list(skills_to_add)...
  14. fukurou

    👨‍💻 dev engramic curroputation fix

    1 add to brain: def exist(self, skill: Skill) -> bool: """ Checks the lobe the skill belongs to (by its skill_lobe attribute), in both the regular and continuous lists. """ match skill.get_skill_lobe(): case 1: return...
  15. fukurou

    🧵 3d hey fuki I hope this makes your day happy

    :s46::s46::s46::s46::s46::s46:
Top