Search results

  1. fukurou

    eliza port vb.aSS

    Imports System.Collections.Generic Imports System.Text.RegularExpressions Public Class ElizaDeducer ' This class populates a special chat dictionary based on the matches added via its AddPhraseMatcher function. ' See subclass ElizaDeducerInitializer for example: ' Dim ed As New...
  2. fukurou

    eliza port vb.aSS

    Public Class EventChatV2 Private ReadOnly dic As New Dictionary(Of String, LimUniqueResponder)() Private ReadOnly modifiedKeys As New HashSet(Of String)() Private ReadOnly lim As Integer ' Constructor Public Sub New(lim As Integer) Me.lim = lim End Sub ' Get...
  3. fukurou

    eliza port vb.aSS

    Public Class LimUniqueResponder Private responses As List(Of String) Private urg As UniqueRandomGenerator = New UniqueRandomGenerator(0) Private ReadOnly lim As Integer ' Constructor Public Sub New(lim As Integer) responses = New List(Of String)() Me.lim =...
  4. fukurou

    Eliza ports

    class PhraseMatcher: def __init__(self, matcher: str, responses: list['AXKeyValuePair']): self.matcher = re.compile(matcher) self.responses = responses def matches(self, str: str) -> bool: m = self.matcher.match(str) return m is not None def...
  5. fukurou

    Eliza ports

    class ElizaDeducerInitializer(ElizaDeducer): def __init__(self, lim: int): # Recommended lim = 5; it's the limit of responses per key in the EventChat dictionary # The purpose of the lim is to make saving and loading data easier super().__init__(lim)...
  6. fukurou

    Eliza ports

    class ElizaDeducer: """ This class populates a special chat dictionary based on the matches added via its add_phrase_matcher function. See subclass ElizaDeducerInitializer for example: ed = ElizaDeducerInitializer(2) # 2 = limit of replies per input """ def...
  7. fukurou

    Eliza ports

    class EventChatV2: def __init__(self, lim: int): self.dic: dict[str, LimUniqueResponder] = {} self.modified_keys: set[str] = set() self.lim = lim def get_modified_keys(self) -> set[str]: return self.modified_keys def key_exists(self, key: str) ->...
  8. fukurou

    Eliza ports

    class LimUniqueResponder: def __init__(self, lim: int): self.responses: List[str] = [] self.lim = lim self.urg = UniqueRandomGenerator(0) def get_a_response(self) -> str: if not self.responses: return "" return...
  9. fukurou

    skill branch upgrade

    class SkillBranch1Liner: SkillBranch { init(goal: String, defcon: String, tolerance: Int, skills: Skill...) { super.init(tolerance: tolerance) self.addGoal(goal) self.addDefcon(defcon) for skill in skills { self.addSkill(skill) } } }
  10. fukurou

    skill branch upgrade

    class AXLearnability { private var algSent = false // Problems that may result because of the last deployed algorithm var defcons = Set<String>() // Major chaotic problems that may result because of the last deployed algorithm var defcon5 = Set<String>() // Goals the last...
  11. fukurou

    [MEDIA]

  12. fukurou

    skill branch upgrade

    class SkillBranch1Liner(SkillBranch): def __init__(self, goal, defcon, tolerance, *skills): super().__init__(tolerance) self.addGoal(goal) self.addDefcon(defcon) for skill in skills: self.addSkill(skill)
  13. fukurou

    skill branch upgrade

    class AXLearnability: def __init__(self, tolerance): self.algSent = False # Problems that may result because of the last deployed algorithm: self.defcons = set() # Major chaotic problems that may result because of the last deployed algorithm...
  14. fukurou

    skill branch upgrade

    public class AXLearnability { private bool algSent = false; // Problems that may result because of the last deployed algorithm: public HashSet<string> defcons = new HashSet<string>(); // Major chaotic problems that may result because of the last deployed algorithm: public...
  15. fukurou

    skill branch upgrade

    vb.net Public Class AXLearnability Private algSent As Boolean = False ' Problems that may result because of the last deployed algorithm: Public defcons As HashSet(Of String) = New HashSet(Of String)() ' Major chaotic problems that may result because of the last deployed...
  16. fukurou

    [MEDIA]

  17. fukurou

    [MEDIA]

  18. fukurou

    [MEDIA]

  19. fukurou

    👨‍💻 dev catalogging

    def skillNotes(self, param: str) -> str: if param == "notes": return "This skill initiates a series of dialogues and declarations related to wearing diapers. It resets daily and responds to specific input phrases." elif param == "triggers": return "Triggers include...
  20. fukurou

    👨‍💻 dev catalogging

    def skillNotes(self, param: str) -> str: if param == "notes": return "This skill simulates a hug attack request and response. automatic skill." elif param == "triggers": return "Triggers include phrases like 'hug', 'give a hug', 'hug attack', 'hugs', and 'hugs you'."...
Top