MCPcopy Create free account

hub / github.com/NOM-Network/Melba-Toast-AI / functions

Functions76 in github.com/NOM-Network/Melba-Toast-AI

↓ 6 callersMethodlog
(self, message: str)
src/melbaToast.py:323
↓ 5 callersMethodaccessMemories
(self, type: str, identifier: str, vectorSearch: bool = False)
src/melbaToast.py:128
↓ 5 callersMethodnewDBEntry
(self, type: str, identifier: str, content: str)
src/memoryDB.py:19
↓ 4 callersMethodwarnAndExit
(self, function, errorMessage)
src/LLMCore.py:78
↓ 3 callersMethodentryExists
(self, type: str, identifier: str)
src/memoryDB.py:44
↓ 3 callersMethodgetEmotion
(self)
src/melbaToast.py:211
↓ 3 callersMethodmetadataQueryDB
(self, type: str = None, identifier: str = None)
src/memoryDB.py:84
↓ 3 callersMethodresponse
(self, stream=False)
src/LLMCore.py:358
↓ 2 callersMethod_init
(self)
src/LLMCore.py:46
↓ 2 callersMethodgetMelbaResponse
(self, message: str, person: str, stream=False)
src/melbaToast.py:91
↓ 2 callersFunctioninitSysPrompts
(filePath: str)
src/initMemoryDB.py:6
↓ 2 callersMethodloadPrompt
(self, path: str = None, prompt: str = None, type: str = None)
src/LLMCore.py:377
↓ 2 callersMethodreset
(self)
src/LLMCore.py:425
↓ 2 callersMethodsavedChat
(self, username: str)
src/melbaToast.py:139
↓ 2 callersMethodsentenceEntropy
(self, sentence: str)
src/melbaToast.py:264
↓ 2 callersMethodtokenToByte
(self, token: int)
src/LLMCore.py:205
↓ 2 callersMethodtokensToString
(self, tokens: List[int])
src/LLMCore.py:213
↓ 2 callersMethodupdate
(self, newParameters: LLMUtils.LLMConfig)
src/LLMCore.py:74
↓ 2 callersMethodvectorQueryDB
(self, queries: List[str], filter: str = None, nResults: int = 1)
src/memoryDB.py:73
↓ 1 callersMethodcharacterProbability
(self, frequencies: List[StrIntPair], target: str)
src/melbaToast.py:252
↓ 1 callersMethoddefaultConfig
(self)
src/melbaToast.py:34
↓ 1 callersFunctiondefaultLlamactxParams
()
src/LLMUtils.py:57
↓ 1 callersMethodevaluate
(self, tokens: List[int], batch: int)
src/LLMCore.py:92
↓ 1 callersMethodevaluateEmotion
(self, text)
src/melbaToast.py:202
↓ 1 callersMethodfilterMessage
(self, message: str)
src/melbaToast.py:293
↓ 1 callersMethodgenerate
(self, stream: bool = False)
src/LLMCore.py:219
↓ 1 callersMethodgenerateTokens
(self, tokens: List[int])
src/LLMCore.py:193
↓ 1 callersMethodgetCtxParms
(self)
src/LLMUtils.py:51
↓ 1 callersMethodgetCurrentConfig
(self)
src/melbaToast.py:54
↓ 1 callersMethodgetId
(self, type: str, identifier: str)
src/memoryDB.py:63
↓ 1 callersMethodgetModelParams
(self)
src/LLMUtils.py:54
↓ 1 callersFunctionhandler
(request)
src/llmbackendClient.py:16
↓ 1 callersFunctioninitInformationMemory
(filePath: str)
src/initMemoryDB.py:50
↓ 1 callersFunctioninitPersonalityPrompts
(filePath: str)
src/initMemoryDB.py:23
↓ 1 callersFunctioninitSwearWords
(filePath: str, filePathExclusions: str = None)
src/initMemoryDB.py:73
↓ 1 callersMethodisSwearWord
(self, word: str)
src/melbaToast.py:274
↓ 1 callersMethodmaliciousWordsCount
(self, words: List[str])
src/melbaToast.py:282
↓ 1 callersMethodpersonality
(self)
src/melbaToast.py:146
↓ 1 callersMethodpreprocessMessage
(self, message: str)
src/melbaToast.py:305
↓ 1 callersMethodprompt
(self, person: str, message: str)
src/melbaToast.py:72
↓ 1 callersMethodpromptTemplate
(self)
src/LLMCore.py:420
↓ 1 callersMethodsampleTokenWithModel
(self)
src/LLMCore.py:115
↓ 1 callersMethodsaveConversation
(self, person: str, conversation: str)
src/melbaToast.py:157
↓ 1 callersMethodsituationalContext
(self, person: str, message: str)
src/melbaToast.py:178
↓ 1 callersMethodsystemPrompt
(self)
src/melbaToast.py:142
↓ 1 callersMethodtokenizeFull
(self, input: str, bos: bool = False, special: bool = True)
src/LLMCore.py:81
↓ 1 callersMethodupdateDBEntry
(self, type: str, identifier: str, content: str)
src/memoryDB.py:32
↓ 1 callersMethodupdateLLMConfig
(self, newConfig)
src/melbaToast.py:57
↓ 1 callersMethodupdateMemory
(self, type: str, identifier: str, newContent: str)
src/melbaToast.py:152
↓ 1 callersMethodupdateOrCreateDBEntry
(self, type: str, identifier: str, content: str)
src/memoryDB.py:57
↓ 1 callersMethodwordFrequency
(self, sentence: str)
src/melbaToast.py:236
Method__init__
(self)
src/LLMUtils.py:8
Method__init__
(self, parameters: LLMUtils.LLMConfig)
src/LLMCore.py:11
Method__init__
(self, params)
src/LLMCore.py:349
Method__init__
(self, modelPath: str, databasepath: str, llmconfig: LLMConfig = None, logPath: str = None)
src/melbaToast.py:20
Method__init__
(self, databasePath: str, logPath: str = None)
src/melbaToast.py:124
Method__init__
(self, memoryDB: Memory)
src/melbaToast.py:171
Method__init__
(self)
src/melbaToast.py:199
Method__init__
(self, memoryDB: Memory)
src/melbaToast.py:216
Method__init__
(self, logpath: str = None)
src/melbaToast.py:317
Method__init__
(self, path)
src/memoryDB.py:8
MethodbackupDB
(self, backupPath = None)
src/memoryDB.py:106
MethodcharacterFrequency
(self, sentence: str)
src/melbaToast.py:221
Methodexit
(self)
src/LLMCore.py:344
MethodidQueryDB
(self, id: str = None)
src/memoryDB.py:98
MethodloadPrompt
(self, path: str = None, prompt: str = None, type: str = None)
src/LLMCore.py:278
MethodpersonalInformation
(self, name: str)
src/melbaToast.py:149
MethodprintPrompt
(self)
src/LLMCore.py:340
MethodpromptTemplate
(self, inputText: str)
src/LLMCore.py:336
MethodregenerateResponse
(self, stream=False)
src/melbaToast.py:115
Methodreset
(self)
src/LLMCore.py:71
Methodresponse
(self, stream: bool = False)
src/LLMCore.py:272
MethodreturnWebContent
(self, searchQuery: str = None)
src/melbaToast.py:175
MethodsetStage
(self, stage: int = 0)
src/melbaToast.py:69
MethodswitchCollection
(self, collectionName: str)
src/memoryDB.py:16
MethodwipeDB
(self)
src/melbaToast.py:165