Search results

  1. 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")...
  2. 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...
  3. 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"...
  4. 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...
  5. 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) } //...
  6. 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"...
  7. 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"...
  8. 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); }...
  9. 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); }...
  10. 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"}...
  11. 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"...
  12. fukurou

    rail port solid shit inDS

    Public Class RailBot Private ReadOnly ec As EventChatV2 Private context As String = "stand by" Private elizaWrapper As ElizaDBWrapper = Nothing ' Starts as Nothing (no DB) ' Constructor with limit parameter Public Sub New(ByVal limit As Integer) ec = New...
  13. fukurou

    rail port solid shit inDS

    vb.net: Public Class PhraseInflector ' Dictionary for pronoun and verb inflection Private Shared ReadOnly inflectionMap As New Dictionary(Of String, String) From { {"i", "you"}, {"me", "you"}, {"my", "your"}, {"mine", "yours"}, {"you", "i"}, '...
  14. fukurou

    rail port solid shit inDS

    vb.net: Public Class QuestionChecker Private Shared ReadOnly QUESTION_WORDS As HashSet(Of String) = New HashSet(Of String) From { "what", "who", "where", "when", "why", "how", "is", "are", "was", "were", "do", "does", "did", "can", "could", "would", "will", "shall", "should"...
  15. fukurou

    👨‍💻 dev DiPerChance

    def find_contained_substring(target: str, substrings: list[str]) -> str: """ Find the first substring contained in the target string. :param target: The string to search within. :param substrings: A list of substrings to search for. :return: The first substring found in the...
  16. fukurou

    jizzers creepers look what I got

    import os # Cancel a scheduled shutdown os.system("shutdown /a")
  17. fukurou

    jizzers creepers look what I got

    import os # Delay time in seconds (e.g., 60 seconds = 1 minute) delay_time = 60 # Shutdown command with delay os.system(f"shutdown /s /t {delay_time}")
  18. fukurou

    hashpikh parikh

    import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class QuestionChecker { private static final Set<String> QUESTION_WORDS = new HashSet<>(); static { // Initialize the set of question words String[] words = { "what", "who"...
  19. fukurou

    hashpikh parikh

    public class QuestionChecker { // Using a switch expression (Java 14+) for maximum performance private static boolean isQuestionWord(String word) { return switch (word) { case "what", "who", "where", "when", "why", "how", "is", "are", "was", "were"...
  20. fukurou

    thnx 4 D feet pix princess

    thnx 4 D feet pix princess
Top