MCPcopy Create free account

hub / github.com/KevinZonda/float32 / functions

Functions101 in github.com/KevinZonda/float32

↓ 18 callersFunctionnewQuery
(content: string, query: string = content)
frontend/src/Store/const.tsx:26
↓ 13 callersMethodString
(maxLen int)
backend/rag/serp/spider.go:20
↓ 6 callersMethodget
(url string)
backend/rag/serp/simple_spider.go:104
↓ 4 callersMethodJson
()
backend/exec/svr/reqmodel/meta.go:38
↓ 3 callersFunctionloadPromptc
(path string)
backend/llm/promptc.go:81
↓ 3 callersMethodqueryQuestion
(question: string, lang: string, field: string, spec: string)
frontend/src/Store/ReqStore.ts:142
↓ 3 callersMethodresetCore
()
frontend/src/Store/ReqStore.ts:55
↓ 2 callersMethodCountry
()
backend/exec/svr/reqmodel/query.go:44
↓ 2 callersFunctionGoogleBotHeader
(req *http.Request)
backend/rag/serp/ua.go:12
↓ 2 callersMethodLocale
()
backend/exec/svr/reqmodel/query.go:37
↓ 2 callersMethodRegularize
()
backend/exec/svr/reqmodel/query.go:15
↓ 2 callersMethodSearch
(query string)
backend/rag/agent.go:11
↓ 2 callersMethodSearch
(urls ...string)
backend/rag/serp/simple_spider.go:24
↓ 2 callersMethodSearch
Search search google country: country code, e.g. us, cn lang: language code, e.g. "en-us" query: query string
backend/rag/serp/google.go:70
↓ 2 callersMethodafterResponse
(question: string, resp: Promise<Response>)
frontend/src/Store/ReqStore.ts:100
↓ 2 callersFunctionchatStreamToGin
(c *gin.Context, req openai.ChatCompletionRequest)
backend/exec/svr/handler/query.go:60
↓ 2 callersFunctionnotifySuccess
(title: string, msg: string)
frontend/src/Content.tsx:42
↓ 2 callersMethodpushQA
(shareId: string, question: string, answer: string, evidence: Evidence[])
frontend/src/Store/ReqStore.ts:166
↓ 2 callersFunctionregularizeMarkdown
(markdown: string)
frontend/src/Content.tsx:156
↓ 2 callersFunctionreplaceNewLines
(text: string)
frontend/src/Content.tsx:163
↓ 2 callersFunctiontranslate
(content string)
backend/exec/svr/handler/continuousAsk.go:19
↓ 1 callersFunctionBaiduBotHeader
(req *http.Request)
backend/rag/serp/ua.go:25
↓ 1 callersFunctionBingBotHeader
(req *http.Request)
backend/rag/serp/ua.go:19
↓ 1 callersFunctionIndexOfRunes
(rs []rune, r rune)
backend/utils/str.go:74
↓ 1 callersFunctionMapProgLang
(progLang string)
backend/exec/cli/main.go:145
↓ 1 callersFunctionNewSimpleSpider
()
backend/rag/serp/simple_spider.go:86
↓ 1 callersMethodRelatedSearchStrs
()
backend/rag/serp/google.go:32
↓ 1 callersFunctionSearchRaw
(country, locale, query string)
backend/rag/search.go:46
↓ 1 callersFunctionSearchResultsToText
(results []serp.SpiderResult)
backend/rag/search.go:106
↓ 1 callersFunctionStrByteRuneDiffRate
(str string)
backend/utils/str.go:54
↓ 1 callersFunctioncanBeAddTo
(r serp.GoogleSearchResponseItem)
backend/rag/search.go:21
↓ 1 callersMethodcontinuousQuery
(question: string, lang: string, field: string, spec: string)
frontend/src/Store/ReqStore.ts:176
↓ 1 callersFunctioninitAll
()
backend/exec/svr/init.go:16
↓ 1 callersFunctioninitChatGPT
()
backend/exec/svr/init.go:33
↓ 1 callersFunctioninitDb
()
backend/exec/svr/init.go:24
↓ 1 callersFunctioninitGin
()
backend/exec/svr/init.go:45
↓ 1 callersFunctionjout
(v any)
backend/rag/serp/simple_spider_test.go:14
↓ 1 callersFunctionmdScrab
(urlS string, r io.Reader)
backend/rag/serp/simple_spider.go:130
↓ 1 callersFunctionprintOutBySubStr
(sb, buf *strings.Builder, delta, subStr string)
backend/exec/cli/main.go:124
↓ 1 callersFunctionprintOutBySubStrs
(sb, buf *strings.Builder, delta string, subStrs ...string)
backend/exec/cli/main.go:135
↓ 1 callersMethodqueryHistory
(id: string)
frontend/src/Store/ReqStore.ts:61
↓ 1 callersFunctionreadAllWithTimeout
(r io.Reader, timeout time.Duration)
backend/rag/serp/simple_spider.go:71
↓ 1 callersFunctionrecvByLine
(resp *openai.ChatCompletionStream)
backend/exec/cli/main.go:95
↓ 1 callersFunctionrndStr
(lens int)
backend/exec/svr/db/queryAnswer.go:39
↓ 1 callersMethodshareLink
(shareId: string)
frontend/src/Store/ReqStore.ts:11
↓ 1 callersFunctionstartGin
()
backend/exec/svr/init.go:63
↓ 1 callersFunctionsystemPrompt
(ptsName Field, varMap map[string]string)
backend/llm/promptc.go:12
↓ 1 callersFunctionuseQuery
()
frontend/src/CommonComponents.tsx:4
↓ 1 callersFunctionwriteSplitByRune
(w io.Writer, buf *strings.Builder, delta string, subStr rune)
backend/utils/str.go:102
FunctionAbout
()
frontend/src/About.tsx:4
FunctionChatMsgFromAssistant
(txt string)
backend/utils/chat.go:19
FunctionChatMsgFromSystem
(txt string)
backend/utils/chat.go:12
FunctionChatMsgFromUser
(txt string)
backend/utils/chat.go:5
FunctionCleanStr
(s string)
backend/utils/str.go:19
FunctionConditional
({condition, children}: { condition: boolean, children: React.ReactElement })
frontend/src/CommonComponents.tsx:10
FunctionContentLayoutItem
(prop: { isMobile: boolean, loading: boolean, question: string, text: string, failed: boolean, evi
frontend/src/ContentLayout.tsx:68
FunctionContinueAsk
()
frontend/src/ContentLayout.tsx:50
FunctionContinuousAsk
(c *gin.Context)
backend/exec/svr/handler/continuousAsk.go:38
FunctionEvidenceList
({evidenceList}: { evidenceList: Array<Evidence> })
frontend/src/ContentLayout.tsx:103
FunctionFindAnswerById
(id string)
backend/exec/svr/db/queryAnswer.go:9
MethodGetTimeOut
()
backend/rag/serp/simple_spider.go:100
FunctionGinErrorMsg
(c *gin.Context, err error)
backend/utils/gin.go:5
FunctionGinErrorMsgTxt
(c *gin.Context, err string)
backend/utils/gin.go:11
FunctionHasSensitiveWords
(str string)
backend/utils/str.go:83
FunctionHasTails
(str string, tails ...string)
backend/utils/str.go:10
FunctionInitDb
(sqlUrl string)
backend/exec/svr/db/init.go:12
FunctionJson
(v any)
backend/utils/str.go:129
FunctionLinkBox
(props: LinkBoxProps)
frontend/src/ContentLayout.tsx:134
FunctionModelGPT35Request
(msg []openai.ChatCompletionMessage)
backend/utils/chat.go:26
FunctionNewAnswer
(ans dbmodel.Answer)
backend/exec/svr/db/queryAnswer.go:17
FunctionNewGoogleSearch
(apiKey string)
backend/rag/serp/google.go:14
FunctionNewMeta
(searched rag.SearchRawItem)
backend/exec/svr/reqmodel/meta.go:8
FunctionOperAnswerBtn
(props: operAnswerBtnProps)
frontend/src/Content.tsx:21
FunctionPromptc
(lang string, field string, question string, guide string, context any)
backend/llm/promptc.go:17
FunctionPromptcTranslate
(content string)
backend/llm/promptc.go:40
FunctionQueryHistory
(c *gin.Context)
backend/exec/svr/handler/query_history.go:13
FunctionRandomBotHeader
(req *http.Request)
backend/rag/serp/ua.go:31
FunctionReactIcon
({children}: ReactIconProp)
frontend/src/Store/const.tsx:10
FunctionReadToEndJson
(r io.Reader)
backend/utils/io.go:8
FunctionRunAgent
(a IAgent)
backend/rag/agent.go:14
FunctionSearch
(c *gin.Context)
backend/exec/svr/handler/query.go:20
FunctionSearch
(query string)
backend/rag/search.go:98
MethodSearch
(urls ...string)
backend/rag/serp/spider.go:9
MethodSetTimeout
(t time.Duration)
backend/rag/serp/simple_spider.go:96
FunctionStrContains
(c string, ss ...string)
backend/utils/str.go:61
FunctionStrMaxLen
(str string, maxLen int)
backend/utils/str.go:31
FunctionStrMaxLenSmart
(str string, maxLen int, tail string)
backend/utils/str.go:39
FunctionTestGoogle
(t *testing.T)
backend/rag/serp/google_test.go:11
FunctionTestPrompt
(t *testing.T)
backend/llm/prompt_test.go:9
FunctionTestSimpleSpider
(t *testing.T)
backend/rag/serp/simple_spider_test.go:8
FunctionTestStrC
(t *testing.T)
backend/utils/str_test.go:8
FunctionUpdateAnswer
(ans dbmodel.Answer)
backend/exec/svr/db/queryAnswer.go:29
FunctionWriteSplitByRune
(w io.Writer, buf *strings.Builder, delta string, subStrs ...rune)
backend/utils/str.go:118
MethodautoPrevOA
()
frontend/src/Store/ReqStore.ts:49
Methodconstructor
()
frontend/src/Store/BaseStore.ts:4
Methodconstructor
()
frontend/src/Store/ReqStore.ts:18
Functioninit
()
backend/llm/promptc.go:72
MethodisLoading
()
frontend/src/Store/ReqStore.ts:28
Functionmain
()
backend/exec/cli/main.go:18
Functionmain
()
backend/exec/svr/main.go:5
next →1–100 of 101, ranked by callers