Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KevinZonda/float32
/ functions
Functions
101 in github.com/KevinZonda/float32
⨍
Functions
101
◇
Types & classes
31
↓ 18 callers
Function
newQuery
(content: string, query: string = content)
frontend/src/Store/const.tsx:26
↓ 13 callers
Method
String
(maxLen int)
backend/rag/serp/spider.go:20
↓ 6 callers
Method
get
(url string)
backend/rag/serp/simple_spider.go:104
↓ 4 callers
Method
Json
()
backend/exec/svr/reqmodel/meta.go:38
↓ 3 callers
Function
loadPromptc
(path string)
backend/llm/promptc.go:81
↓ 3 callers
Method
queryQuestion
(question: string, lang: string, field: string, spec: string)
frontend/src/Store/ReqStore.ts:142
↓ 3 callers
Method
resetCore
()
frontend/src/Store/ReqStore.ts:55
↓ 2 callers
Method
Country
()
backend/exec/svr/reqmodel/query.go:44
↓ 2 callers
Function
GoogleBotHeader
(req *http.Request)
backend/rag/serp/ua.go:12
↓ 2 callers
Method
Locale
()
backend/exec/svr/reqmodel/query.go:37
↓ 2 callers
Method
Regularize
()
backend/exec/svr/reqmodel/query.go:15
↓ 2 callers
Method
Search
(query string)
backend/rag/agent.go:11
↓ 2 callers
Method
Search
(urls ...string)
backend/rag/serp/simple_spider.go:24
↓ 2 callers
Method
Search
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 callers
Method
afterResponse
(question: string, resp: Promise<Response>)
frontend/src/Store/ReqStore.ts:100
↓ 2 callers
Function
chatStreamToGin
(c *gin.Context, req openai.ChatCompletionRequest)
backend/exec/svr/handler/query.go:60
↓ 2 callers
Function
notifySuccess
(title: string, msg: string)
frontend/src/Content.tsx:42
↓ 2 callers
Method
pushQA
(shareId: string, question: string, answer: string, evidence: Evidence[])
frontend/src/Store/ReqStore.ts:166
↓ 2 callers
Function
regularizeMarkdown
(markdown: string)
frontend/src/Content.tsx:156
↓ 2 callers
Function
replaceNewLines
(text: string)
frontend/src/Content.tsx:163
↓ 2 callers
Function
translate
(content string)
backend/exec/svr/handler/continuousAsk.go:19
↓ 1 callers
Function
BaiduBotHeader
(req *http.Request)
backend/rag/serp/ua.go:25
↓ 1 callers
Function
BingBotHeader
(req *http.Request)
backend/rag/serp/ua.go:19
↓ 1 callers
Function
IndexOfRunes
(rs []rune, r rune)
backend/utils/str.go:74
↓ 1 callers
Function
MapProgLang
(progLang string)
backend/exec/cli/main.go:145
↓ 1 callers
Function
NewSimpleSpider
()
backend/rag/serp/simple_spider.go:86
↓ 1 callers
Method
RelatedSearchStrs
()
backend/rag/serp/google.go:32
↓ 1 callers
Function
SearchRaw
(country, locale, query string)
backend/rag/search.go:46
↓ 1 callers
Function
SearchResultsToText
(results []serp.SpiderResult)
backend/rag/search.go:106
↓ 1 callers
Function
StrByteRuneDiffRate
(str string)
backend/utils/str.go:54
↓ 1 callers
Function
canBeAddTo
(r serp.GoogleSearchResponseItem)
backend/rag/search.go:21
↓ 1 callers
Method
continuousQuery
(question: string, lang: string, field: string, spec: string)
frontend/src/Store/ReqStore.ts:176
↓ 1 callers
Function
initAll
()
backend/exec/svr/init.go:16
↓ 1 callers
Function
initChatGPT
()
backend/exec/svr/init.go:33
↓ 1 callers
Function
initDb
()
backend/exec/svr/init.go:24
↓ 1 callers
Function
initGin
()
backend/exec/svr/init.go:45
↓ 1 callers
Function
jout
(v any)
backend/rag/serp/simple_spider_test.go:14
↓ 1 callers
Function
mdScrab
(urlS string, r io.Reader)
backend/rag/serp/simple_spider.go:130
↓ 1 callers
Function
printOutBySubStr
(sb, buf *strings.Builder, delta, subStr string)
backend/exec/cli/main.go:124
↓ 1 callers
Function
printOutBySubStrs
(sb, buf *strings.Builder, delta string, subStrs ...string)
backend/exec/cli/main.go:135
↓ 1 callers
Method
queryHistory
(id: string)
frontend/src/Store/ReqStore.ts:61
↓ 1 callers
Function
readAllWithTimeout
(r io.Reader, timeout time.Duration)
backend/rag/serp/simple_spider.go:71
↓ 1 callers
Function
recvByLine
(resp *openai.ChatCompletionStream)
backend/exec/cli/main.go:95
↓ 1 callers
Function
rndStr
(lens int)
backend/exec/svr/db/queryAnswer.go:39
↓ 1 callers
Method
shareLink
(shareId: string)
frontend/src/Store/ReqStore.ts:11
↓ 1 callers
Function
startGin
()
backend/exec/svr/init.go:63
↓ 1 callers
Function
systemPrompt
(ptsName Field, varMap map[string]string)
backend/llm/promptc.go:12
↓ 1 callers
Function
useQuery
()
frontend/src/CommonComponents.tsx:4
↓ 1 callers
Function
writeSplitByRune
(w io.Writer, buf *strings.Builder, delta string, subStr rune)
backend/utils/str.go:102
Function
About
()
frontend/src/About.tsx:4
Function
ChatMsgFromAssistant
(txt string)
backend/utils/chat.go:19
Function
ChatMsgFromSystem
(txt string)
backend/utils/chat.go:12
Function
ChatMsgFromUser
(txt string)
backend/utils/chat.go:5
Function
CleanStr
(s string)
backend/utils/str.go:19
Function
Conditional
({condition, children}: { condition: boolean, children: React.ReactElement })
frontend/src/CommonComponents.tsx:10
Function
ContentLayoutItem
(prop: { isMobile: boolean, loading: boolean, question: string, text: string, failed: boolean, evi
frontend/src/ContentLayout.tsx:68
Function
ContinueAsk
()
frontend/src/ContentLayout.tsx:50
Function
ContinuousAsk
(c *gin.Context)
backend/exec/svr/handler/continuousAsk.go:38
Function
EvidenceList
({evidenceList}: { evidenceList: Array<Evidence> })
frontend/src/ContentLayout.tsx:103
Function
FindAnswerById
(id string)
backend/exec/svr/db/queryAnswer.go:9
Method
GetTimeOut
()
backend/rag/serp/simple_spider.go:100
Function
GinErrorMsg
(c *gin.Context, err error)
backend/utils/gin.go:5
Function
GinErrorMsgTxt
(c *gin.Context, err string)
backend/utils/gin.go:11
Function
HasSensitiveWords
(str string)
backend/utils/str.go:83
Function
HasTails
(str string, tails ...string)
backend/utils/str.go:10
Function
InitDb
(sqlUrl string)
backend/exec/svr/db/init.go:12
Function
Json
(v any)
backend/utils/str.go:129
Function
LinkBox
(props: LinkBoxProps)
frontend/src/ContentLayout.tsx:134
Function
ModelGPT35Request
(msg []openai.ChatCompletionMessage)
backend/utils/chat.go:26
Function
NewAnswer
(ans dbmodel.Answer)
backend/exec/svr/db/queryAnswer.go:17
Function
NewGoogleSearch
(apiKey string)
backend/rag/serp/google.go:14
Function
NewMeta
(searched rag.SearchRawItem)
backend/exec/svr/reqmodel/meta.go:8
Function
OperAnswerBtn
(props: operAnswerBtnProps)
frontend/src/Content.tsx:21
Function
Promptc
(lang string, field string, question string, guide string, context any)
backend/llm/promptc.go:17
Function
PromptcTranslate
(content string)
backend/llm/promptc.go:40
Function
QueryHistory
(c *gin.Context)
backend/exec/svr/handler/query_history.go:13
Function
RandomBotHeader
(req *http.Request)
backend/rag/serp/ua.go:31
Function
ReactIcon
({children}: ReactIconProp)
frontend/src/Store/const.tsx:10
Function
ReadToEndJson
(r io.Reader)
backend/utils/io.go:8
Function
RunAgent
(a IAgent)
backend/rag/agent.go:14
Function
Search
(c *gin.Context)
backend/exec/svr/handler/query.go:20
Function
Search
(query string)
backend/rag/search.go:98
Method
Search
(urls ...string)
backend/rag/serp/spider.go:9
Method
SetTimeout
(t time.Duration)
backend/rag/serp/simple_spider.go:96
Function
StrContains
(c string, ss ...string)
backend/utils/str.go:61
Function
StrMaxLen
(str string, maxLen int)
backend/utils/str.go:31
Function
StrMaxLenSmart
(str string, maxLen int, tail string)
backend/utils/str.go:39
Function
TestGoogle
(t *testing.T)
backend/rag/serp/google_test.go:11
Function
TestPrompt
(t *testing.T)
backend/llm/prompt_test.go:9
Function
TestSimpleSpider
(t *testing.T)
backend/rag/serp/simple_spider_test.go:8
Function
TestStrC
(t *testing.T)
backend/utils/str_test.go:8
Function
UpdateAnswer
(ans dbmodel.Answer)
backend/exec/svr/db/queryAnswer.go:29
Function
WriteSplitByRune
(w io.Writer, buf *strings.Builder, delta string, subStrs ...rune)
backend/utils/str.go:118
Method
autoPrevOA
()
frontend/src/Store/ReqStore.ts:49
Method
constructor
()
frontend/src/Store/BaseStore.ts:4
Method
constructor
()
frontend/src/Store/ReqStore.ts:18
Function
init
()
backend/llm/promptc.go:72
Method
isLoading
()
frontend/src/Store/ReqStore.ts:28
Function
main
()
backend/exec/cli/main.go:18
Function
main
()
backend/exec/svr/main.go:5
next →
1–100 of 101, ranked by callers