MCPcopy Create free account

hub / github.com/Hoshinonyaruko/Gensokyo-llm / functions

Functions763 in github.com/Hoshinonyaruko/Gensokyo-llm

↓ 4 callersFunctionGetPromptKeyboardAI
你要扮演一个json生成器,根据我下一句提交的QA内容,推断我可能会继续问的问题,生成json数组格式的结果,如:输入Q我好累啊A要休息一下吗,返回["嗯,我想要休息","我想喝杯咖啡","你平时怎么休息呢"],返回需要是["","",""]需要2-3个结果
promptkb/promptkb.go:27
↓ 4 callersFunctionGetQuestionMaxLenth
获取QuestionMaxLenth
config/config.go:1161
↓ 4 callersFunctionGetUseAIPromptkeyboard
获取UseAIPromptkeyboard
config/config.go:1327
↓ 4 callersFunctionIsInBlacklist
isInBlacklist 检查给定的ID是否在黑名单中。
utils/blacklist.go:49
↓ 4 callersFunctionSendGroupMessageMdPromptKeyboard
(groupID int64, userID int64, message string, selfid string, newmsg string, response string, promptstr string)
utils/utils.go:478
↓ 4 callersFunctionSysLog
(s string)
common/logger/logger.go:46
↓ 4 callersFunctionformatHistory
(history []structs.Message)
applogic/memory.go:513
↓ 4 callersFunctionhmacSha256
(s, key string)
relay/adaptor/tencent/main.go:187
↓ 4 callersFunctionlogHelper
(ctx context.Context, level string, msg string)
common/logger/logger.go:98
↓ 4 callersMethodmigrateUserToNewContext
(userID int64)
applogic/app.go:355
↓ 4 callersMethodupdateUserContext
(userID int64, parentMessageID string)
applogic/app.go:383
↓ 4 callersMethodupdateUserContextSP
(userID string, parentMessageID string)
applogic/app.go:392
↓ 4 callersFunctionvectorToBinaryConcurrent
二进制向量处理
applogic/embeddings.go:172
↓ 3 callersMethodApplyPromptChoiceQ
ApplyPromptChoiceQ 应用promptchoiceQ的逻辑,动态修改requestmsg
applogic/flow.go:15
↓ 3 callersFunctionCheckWordIN
改写后的函数,接受word参数,并返回处理结果
acnode/acnode.go:328
↓ 3 callersFunctionGetAIPromptkeyboardPath
获取AIPromptkeyboardPath
config/config.go:1337
↓ 3 callersFunctionGetAntiPromptAttackPath
获取AntiPromptAttackPath
config/config.go:800
↓ 3 callersFunctionGetGptModel
获取GptModel
config/config.go:344
↓ 3 callersFunctionGetGroupAddCardToQ
获取GroupAddCardToQ
config/config.go:3322
↓ 3 callersFunctionGetGroupAddNicknameToQ
获取GroupAddNicknameToQ
config/config.go:3284
↓ 3 callersFunctionGetGroupHintWords
GetGroupHintWords 获取GroupHintWords列表,可接受basename作为参数
config/config.go:2882
↓ 3 callersFunctionGetRandomRestoreResponses
GetRestoreResponses 从RestoreResponses数组中随机选择一个字符串返回
config/config.go:852
↓ 3 callersFunctionGetRandomSaveResponse
GetRandomSaveResponse 从SaveResponses数组中随机选择一个字符串返回
config/config.go:830
↓ 3 callersFunctionGetStringob11
获取Stringob11
config/config.go:3557
↓ 3 callersFunctionGetTemperatureHunyuan
获取TemperatureHunyuan值
config/config.go:2980
↓ 3 callersFunctionGetTopPHunyuan
获取TopPHunyuan值
config/config.go:2948
↓ 3 callersFunctionGetTyqwMaxTokens
获取TYQW最大Token数量,可接受basename作为参数
config/config.go:2235
↓ 3 callersFunctionGetWenxinApiPath
获取WenxinApiPath
config/config.go:296
↓ 3 callersFunctionNewAhoCorasick
()
acnode/acnode.go:68
↓ 3 callersMethodParseInput
()
relay/model/general.go:33
↓ 3 callersMethoddeleteCustomRecord
(userID int64)
applogic/promptstr.go:98
↓ 3 callersMethodhandleUserContext
(userID int64)
applogic/app.go:299
↓ 3 callersMethodhandleUserContextSP
(userID string)
applogic/app.go:327
↓ 3 callersFunctionloadWordsIntoAC
(ac *AhoCorasick, filename string)
acnode/acnode.go:251
↓ 3 callersMethodmigrateUserToNewContextSP
(userID string)
applogic/app.go:369
↓ 3 callersFunctionuserId2Key
(id int)
common/blacklist/main.go:14
↓ 2 callersMethodAddUserMemory
(userID int64, conversationID, parentMessageID, conversationTitle string)
applogic/app.go:496
↓ 2 callersMethodAddUserMemorySP
(userID string, conversationID, parentMessageID, conversationTitle string)
applogic/app.go:510
↓ 2 callersFunctionAppendRune
(conversationID string, char rune)
applogic/gensokyo.go:1320
↓ 2 callersMethodApplyPromptCoverQ
ApplyPromptCoverQ 应用promptCoverQ的逻辑,动态覆盖requestmsg
applogic/flow.go:112
↓ 2 callersFunctionAsString
(v any)
common/conv/any.go:3
↓ 2 callersFunctionBool
(env string, defaultValue bool)
common/env/helper.go:8
↓ 2 callersMethodChatStd
ChatStd <span style="font-size:1.5em;">注意:本接口将于 5 月 15 日下线;下线后将不再提供文档指引,接口本身可继续调用,建议使用 [hunyuan](https://cloud.tencent.com/document/api/1729/105701) 接
hunyuan/client.go:257
↓ 2 callersMethodCheckAndUpdateRateLimit
检查是否超过调用频率限制
server/uploadpic.go:184
↓ 2 callersFunctionCheckPromptExistence
CheckPromptExistence 检查基于 basename 组合的 filename 是否存在于 promptsCache 中
prompt/prompt.go:281
↓ 2 callersFunctionFilterSimplifiedChinese
FilterSimplifiedChinese filters the input string to keep only simplified Chinese characters
utils/utils.go:3299
↓ 2 callersMethodFilterWithWhitelist
(text string, whiteListedPositions []Position)
acnode/acnode.go:114
↓ 2 callersFunctionFriendlyLanguageNameCN
FriendlyLanguageNameCN 将语言代码映射为中文名称
utils/utils.go:2891
↓ 2 callersFunctionGetAccessKey
获取AccessKey
config/config.go:90
↓ 2 callersMethodGetAndSendEnv
分开发而且不使用sse
applogic/env.go:32
↓ 2 callersFunctionGetCacheChance
获取CacheChance
config/config.go:985
↓ 2 callersFunctionGetCacheThreshold
获取CacheThreshold
config/config.go:975
↓ 2 callersFunctionGetCompatibleChannelMeta
()
relay/adaptor/openai/compatible.go:3
↓ 2 callersFunctionGetConversationPath
GetConversationPath 获取ConversationPath,可接受basename作为参数
config/config.go:3401
↓ 2 callersFunctionGetCurrentMessage
(conversationID string)
applogic/gensokyo.go:1327
↓ 2 callersFunctionGetEnvContents
获取 EnvContents
config/config.go:2143
↓ 2 callersFunctionGetEnvType
获取EnvType
config/config.go:2007
↓ 2 callersFunctionGetGlmApiKey
GetGlmApiKey 获取glm密钥,可接受basename作为参数
config/config.go:2670
↓ 2 callersFunctionGetGlmApiPath
GetGlmApiPath 获取GLM API路径,可接受basename作为参数
config/config.go:2594
↓ 2 callersFunctionGetGlmMaxTokens
GetGlmMaxTokens 获取模型输出的最大tokens数,可接受basename作为参数
config/config.go:2708
↓ 2 callersFunctionGetGptApiPath
获取GptApiPath
config/config.go:382
↓ 2 callersFunctionGetGptSseType
获取GptSseType
config/config.go:512
↓ 2 callersFunctionGetGptToken
获取GptToken
config/config.go:416
↓ 2 callersFunctionGetGroupHintChance
获取GroupHintChance
config/config.go:608
↓ 2 callersFunctionGetGroupmessage
是否开启群信息
config/config.go:522
↓ 2 callersFunctionGetKey
获取复合键
utils/utils.go:165
↓ 2 callersFunctionGetKeySP
获取复合键
utils/utils.go:170
↓ 2 callersFunctionGetLanguagesResponseMessages
GetLanguagesResponseMessages 返回语言拦截响应消息列表
config/config.go:1145
↓ 2 callersFunctionGetMdPromptKeyboardAtGroupCmds
获取 MdPromptKeyboardAtGroupCmds
config/config.go:3523
↓ 2 callersFunctionGetMessageLength
(conversationID string)
applogic/gensokyo.go:1339
↓ 2 callersFunctionGetNo4Promptkeyboard
第四个气泡
config/config.go:2187
↓ 2 callersFunctionGetPrintVector
获取PrintVector
config/config.go:1055
↓ 2 callersFunctionGetPromptMarks
获取 PromptMarks
config/config.go:1701
↓ 2 callersFunctionGetProxy
获取Proxy
config/config.go:1599
↓ 2 callersFunctionGetQmlResponseMessages
GetQmlResponseMessages 返回语言拦截响应消息列表
config/config.go:1171
↓ 2 callersMethodGetRandomAnswer
GetRandomAnswer 根据问题文本随机获取一个答案
applogic/embeddings.go:122
↓ 2 callersFunctionGetReplacementPairsIn
获取 ReplacementPairsIn
config/config.go:3059
↓ 2 callersFunctionGetReplacementPairsOut
获取 ReplacementPairsOut
config/config.go:3100
↓ 2 callersFunctionGetRwkvMaxTokens
获取RWKV最大令牌数
config/config.go:1381
↓ 2 callersFunctionGetSensitiveMode
是否SensitiveMode
config/config.go:780
↓ 2 callersFunctionGetSplitByPuntuationsGroup
获取GetSplitByPuntuationsGroup
config/config.go:570
↓ 2 callersFunctionGetSuperSafe
获取NoEmoji
config/config.go:3479
↓ 2 callersFunctionGetTyqwApiPath
GetTyqwApiPath 获取TYQW API路径,可接受basename作为参数
config/config.go:2197
↓ 2 callersFunctionGetTyqwAssistantName
获取TYQW助手名称
config/config.go:2435
↓ 2 callersFunctionGetTyqwEnableSearch
获取TYQW是否启用互联网搜索
config/config.go:2495
↓ 2 callersFunctionGetTyqwKey
GetTyqwKey 获取TYQW API Key,可接受basename作为参数
config/config.go:2543
↓ 2 callersFunctionGetTyqwModel
GetTyqwModel 获取TYQW模型名称,可接受basename作为参数
config/config.go:2505
↓ 2 callersFunctionGetTyqwPreSystem
获取TYQW是否在系统层面进行预处理
config/config.go:2455
↓ 2 callersFunctionGetTyqwRepetitionPenalty
获取TYQW重复度惩罚因子
config/config.go:2465
↓ 2 callersFunctionGetTyqwSeed
获取TYQW随机数种子
config/config.go:2485
↓ 2 callersFunctionGetTyqwSseType
GetTyqwSseType 获取TYQW SSE类型,可接受basename作为参数
config/config.go:2387
↓ 2 callersFunctionGetTyqwStopTokens
获取TYQW停止标记
config/config.go:2475
↓ 2 callersFunctionGetTyqwSystemName
获取TYQW系统名称
config/config.go:2445
↓ 2 callersFunctionGetTyqwTemperature
GetTyqwTemperature 获取TYQW温度设置,可接受basename作为参数
config/config.go:2273
↓ 2 callersFunctionGetTyqwTopK
GetTyqwTopK 获取TYQW Top K设置,可接受basename作为参数
config/config.go:2349
↓ 2 callersFunctionGetTyqwTopP
GetTyqwTopP 获取TYQW Top P值,可接受basename作为参数
config/config.go:2311
↓ 2 callersFunctionGetTyqwUserName
获取TYQW用户名
config/config.go:2425
↓ 2 callersFunctionGetUUID
()
common/random/main.go:10
↓ 2 callersFunctionGetUserInfo
GetUserInfo 根据conversationID获取用户信息
applogic/gensokyo.go:1312
↓ 2 callersFunctionGetUserInfoSP
GetUserInfoSP 根据conversationID获取用户信息
applogic/gensokyo_sp.go:903
← previousnext →101–200 of 763, ranked by callers