Search results

  1. fukurou

    👨‍💻 dev sensory skills

    look I don't like not knowing how many Chobits there will be for sensory. we should consider a Brain upgrade: think(Sensory,str1, str2, str3) or think(str1, str2, str3) with Sensory as an Attribute.
  2. fukurou

    👨‍💻 dev sensory skills

    because if we main it, then the GUI drops its built in import dependency which will always vary.
  3. fukurou

    👨‍💻 dev sensory skills

    GUIs don't have a consensus pattern. but we could add 3 sensory chobit... yeah fuck it. hmm do we want those skills added in the c'tor level tho?
  4. fukurou

    [MEDIA]

  5. fukurou

    jizzzzzzzzzzzzzzzzz! 5 layer port jutsu!

    public void addResponse(String s1) { if (responses.contains(s1)) { responses.remove(s1); responses.add(s1); return; } if (responses.size() > lim - 1) { responses.remove(0); } else { urg = new UniqueRandomGenerator(responses.size() + 1)...
  6. fukurou

    elkfjoksdjflksdjfinDS

    def add_response(self, s1: str) -> None: if self.lastInsert == s1: # exits because repeat insert attempt return if len(self.responses) > self.lim - 1: self.responses.pop(0) else: self.urg =...
  7. fukurou

    elkfjoksdjflksdjfinDS

    import random class UniqueRandomGenerator: def __init__(self, n1: int): if n1 < 0: raise ValueError("n1 must be a non-negative integer") # Validate input self.n1 = n1 self.remaining_numbers = random.sample(range(n1), n1) # Directly shuffle at...
  8. fukurou

    elkfjoksdjflksdjfinDS

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

    elkfjoksdjflksdjfinDS

    class UniqueRandomGenerator: def __init__(self, n1: int): self.n1 = n1 self.numbers = list(range(n1)) self.remaining_numbers = [] # Declare here to avoid the error self.reset() def reset(self): self.remaining_numbers = self.numbers.copy()...
  10. fukurou

    rail port solid shit inDS

    class DiRail(Skill): # DiRail skill for testing purposes def __init__(self, lim=5): super().__init__() self.rail_bot = RailBot(lim) self.monologer = AXContextCmd() self.monologer.context_commands.append("talk more")...
  11. fukurou

    rail port solid shit inDS

    class RailBot: def __init__(self, limit=5): self.ec = EventChatV2(limit) self.context = "stand by" self.eliza_wrapper = None # Starts as None (no DB) def enable_db_wrapper(self): """Enables database features. Must be called before any save/load...
  12. fukurou

    rail port solid shit inDS

    class PhraseInflector: # Maps for pronoun and verb inflection inflection_map = { "i": "you", "me": "you", "my": "your", "mine": "yours", "you": "i", # Default inflection "your": "my", "yours": "mine", "am": "are"...
  13. fukurou

    rail port solid shit inDS

    class QuestionChecker: QUESTION_WORDS = { "what", "who", "where", "when", "why", "how", "is", "are", "was", "were", "do", "does", "did", "can", "could", "would", "will", "shall", "should", "have", "has", "am", "may", "might" } @staticmethod def...
  14. fukurou

    rail port solid shit inDS

    class RailBot { private let ec: EventChatV2 private var context: String = "stand by" private var elizaWrapper: ElizaDBWrapper? = nil // Starts as nil (no DB) // Constructor with limit parameter init(limit: Int) { self.ec = EventChatV2(limit: limit) } //...
  15. fukurou

    rail port solid shit inDS

    class PhraseInflector { // Dictionary for pronoun and verb inflection private static let inflectionMap: [String: String] = [ "i": "you", "me": "you", "my": "your", "mine": "yours", "you": "i", // Default inflection "your": "my"...
  16. fukurou

    rail port solid shit inDS

    class QuestionChecker { private static let QUESTION_WORDS: Set<String> = [ "what", "who", "where", "when", "why", "how", "is", "are", "was", "were", "do", "does", "did", "can", "could", "would", "will", "shall", "should", "have", "has", "am", "may", "might"...
  17. fukurou

    rail port solid shit inDS

    public class RailBot { private readonly EventChatV2 ec; private string context = "stand by"; private ElizaDBWrapper? elizaWrapper = null; // Starts as null (no DB) // Constructor with limit parameter public RailBot(int limit) { ec = new EventChatV2(limit); }...
  18. fukurou

    rail port solid shit inDS

    public class RailBot { private readonly EventChatV2 ec; private string context = "stand by"; private ElizaDBWrapper elizaWrapper = null; // Starts as null (no DB) // Constructor with limit parameter public RailBot(int limit) { ec = new EventChatV2(limit); }...
  19. fukurou

    rail port solid shit inDS

    public class PhraseInflector { // Dictionary for pronoun and verb inflection private static readonly Dictionary<string, string> inflectionMap = new Dictionary<string, string> { {"i", "you"}, {"me", "you"}, {"my", "your"}, {"mine", "yours"}...
  20. fukurou

    rail port solid shit inDS

    public class QuestionChecker { private static readonly HashSet<string> QUESTION_WORDS = new HashSet<string> { "what", "who", "where", "when", "why", "how", "is", "are", "was", "were", "do", "does", "did", "can", "could", "would", "will", "shall", "should"...
Top