Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NOM-Network/Melba-Toast-AI
/ functions
Functions
76 in github.com/NOM-Network/Melba-Toast-AI
⨍
Functions
76
◇
Types & classes
11
↓ 6 callers
Method
log
(self, message: str)
src/melbaToast.py:323
↓ 5 callers
Method
accessMemories
(self, type: str, identifier: str, vectorSearch: bool = False)
src/melbaToast.py:128
↓ 5 callers
Method
newDBEntry
(self, type: str, identifier: str, content: str)
src/memoryDB.py:19
↓ 4 callers
Method
warnAndExit
(self, function, errorMessage)
src/LLMCore.py:78
↓ 3 callers
Method
entryExists
(self, type: str, identifier: str)
src/memoryDB.py:44
↓ 3 callers
Method
getEmotion
(self)
src/melbaToast.py:211
↓ 3 callers
Method
metadataQueryDB
(self, type: str = None, identifier: str = None)
src/memoryDB.py:84
↓ 3 callers
Method
response
(self, stream=False)
src/LLMCore.py:358
↓ 2 callers
Method
_init
(self)
src/LLMCore.py:46
↓ 2 callers
Method
getMelbaResponse
(self, message: str, person: str, stream=False)
src/melbaToast.py:91
↓ 2 callers
Function
initSysPrompts
(filePath: str)
src/initMemoryDB.py:6
↓ 2 callers
Method
loadPrompt
(self, path: str = None, prompt: str = None, type: str = None)
src/LLMCore.py:377
↓ 2 callers
Method
reset
(self)
src/LLMCore.py:425
↓ 2 callers
Method
savedChat
(self, username: str)
src/melbaToast.py:139
↓ 2 callers
Method
sentenceEntropy
(self, sentence: str)
src/melbaToast.py:264
↓ 2 callers
Method
tokenToByte
(self, token: int)
src/LLMCore.py:205
↓ 2 callers
Method
tokensToString
(self, tokens: List[int])
src/LLMCore.py:213
↓ 2 callers
Method
update
(self, newParameters: LLMUtils.LLMConfig)
src/LLMCore.py:74
↓ 2 callers
Method
vectorQueryDB
(self, queries: List[str], filter: str = None, nResults: int = 1)
src/memoryDB.py:73
↓ 1 callers
Method
characterProbability
(self, frequencies: List[StrIntPair], target: str)
src/melbaToast.py:252
↓ 1 callers
Method
defaultConfig
(self)
src/melbaToast.py:34
↓ 1 callers
Function
defaultLlamactxParams
()
src/LLMUtils.py:57
↓ 1 callers
Method
evaluate
(self, tokens: List[int], batch: int)
src/LLMCore.py:92
↓ 1 callers
Method
evaluateEmotion
(self, text)
src/melbaToast.py:202
↓ 1 callers
Method
filterMessage
(self, message: str)
src/melbaToast.py:293
↓ 1 callers
Method
generate
(self, stream: bool = False)
src/LLMCore.py:219
↓ 1 callers
Method
generateTokens
(self, tokens: List[int])
src/LLMCore.py:193
↓ 1 callers
Method
getCtxParms
(self)
src/LLMUtils.py:51
↓ 1 callers
Method
getCurrentConfig
(self)
src/melbaToast.py:54
↓ 1 callers
Method
getId
(self, type: str, identifier: str)
src/memoryDB.py:63
↓ 1 callers
Method
getModelParams
(self)
src/LLMUtils.py:54
↓ 1 callers
Function
handler
(request)
src/llmbackendClient.py:16
↓ 1 callers
Function
initInformationMemory
(filePath: str)
src/initMemoryDB.py:50
↓ 1 callers
Function
initPersonalityPrompts
(filePath: str)
src/initMemoryDB.py:23
↓ 1 callers
Function
initSwearWords
(filePath: str, filePathExclusions: str = None)
src/initMemoryDB.py:73
↓ 1 callers
Method
isSwearWord
(self, word: str)
src/melbaToast.py:274
↓ 1 callers
Method
maliciousWordsCount
(self, words: List[str])
src/melbaToast.py:282
↓ 1 callers
Method
personality
(self)
src/melbaToast.py:146
↓ 1 callers
Method
preprocessMessage
(self, message: str)
src/melbaToast.py:305
↓ 1 callers
Method
prompt
(self, person: str, message: str)
src/melbaToast.py:72
↓ 1 callers
Method
promptTemplate
(self)
src/LLMCore.py:420
↓ 1 callers
Method
sampleTokenWithModel
(self)
src/LLMCore.py:115
↓ 1 callers
Method
saveConversation
(self, person: str, conversation: str)
src/melbaToast.py:157
↓ 1 callers
Method
situationalContext
(self, person: str, message: str)
src/melbaToast.py:178
↓ 1 callers
Method
systemPrompt
(self)
src/melbaToast.py:142
↓ 1 callers
Method
tokenizeFull
(self, input: str, bos: bool = False, special: bool = True)
src/LLMCore.py:81
↓ 1 callers
Method
updateDBEntry
(self, type: str, identifier: str, content: str)
src/memoryDB.py:32
↓ 1 callers
Method
updateLLMConfig
(self, newConfig)
src/melbaToast.py:57
↓ 1 callers
Method
updateMemory
(self, type: str, identifier: str, newContent: str)
src/melbaToast.py:152
↓ 1 callers
Method
updateOrCreateDBEntry
(self, type: str, identifier: str, content: str)
src/memoryDB.py:57
↓ 1 callers
Method
wordFrequency
(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
Method
backupDB
(self, backupPath = None)
src/memoryDB.py:106
Method
characterFrequency
(self, sentence: str)
src/melbaToast.py:221
Method
exit
(self)
src/LLMCore.py:344
Method
idQueryDB
(self, id: str = None)
src/memoryDB.py:98
Method
loadPrompt
(self, path: str = None, prompt: str = None, type: str = None)
src/LLMCore.py:278
Method
personalInformation
(self, name: str)
src/melbaToast.py:149
Method
printPrompt
(self)
src/LLMCore.py:340
Method
promptTemplate
(self, inputText: str)
src/LLMCore.py:336
Method
regenerateResponse
(self, stream=False)
src/melbaToast.py:115
Method
reset
(self)
src/LLMCore.py:71
Method
response
(self, stream: bool = False)
src/LLMCore.py:272
Method
returnWebContent
(self, searchQuery: str = None)
src/melbaToast.py:175
Method
setStage
(self, stage: int = 0)
src/melbaToast.py:69
Method
switchCollection
(self, collectionName: str)
src/memoryDB.py:16
Method
wipeDB
(self)
src/melbaToast.py:165