Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coderabbit214/document-ai
/ functions
Functions
29 in github.com/coderabbit214/document-ai
⨍
Functions
29
◇
Types & classes
27
↓ 6 callers
Function
Error
Error 错误
pkg/common/result.go:20
↓ 4 callers
Function
Send
(httpMethod string, suffix string, reqBytes []byte)
pkg/qdrant/common.go:10
↓ 3 callers
Function
SendEmbeddings
SendEmbeddings returns an EmbeddingResponse
pkg/openai/embeddings.go:35
↓ 3 callers
Function
Success
Success 成功
pkg/common/result.go:15
↓ 2 callers
Function
CreateCollection
CreateCollection creates a collection in qdrant
pkg/qdrant/collection.go:38
↓ 2 callers
Function
GetCollection
(name string)
pkg/qdrant/collection.go:64
↓ 2 callers
Function
Send
(suffix string, reqBytes []byte)
pkg/openai/common.go:21
↓ 2 callers
Function
SendChat
SendChat returns an ChatCompletionResponse
pkg/openai/chat.go:68
↓ 1 callers
Function
Cors
()
pkg/api/routers.go:33
↓ 1 callers
Function
CreatePoints
(collectionName string, pointRequest PointRequest)
pkg/qdrant/point.go:55
↓ 1 callers
Method
Reload
()
pkg/common/config.go:35
↓ 1 callers
Function
SearchPoints
(collectionName string, pointSearchRequest PointSearchRequest)
pkg/qdrant/point.go:81
↓ 1 callers
Function
SetupRouter
()
pkg/api/routers.go:8
↓ 1 callers
Function
getColorEncoder
()
pkg/common/log.go:32
↓ 1 callers
Function
getEncoder
()
pkg/common/log.go:39
↓ 1 callers
Function
getLogWriter
()
pkg/common/log.go:46
Function
Error
(c *gin.Context)
pkg/api/healthy.go:13
Function
GenerateUUID
GenerateUUID 生成uuid
pkg/common/uuid.go:9
Function
Healthy
(c *gin.Context)
pkg/api/healthy.go:9
Function
TestCreateCollection
(t *testing.T)
pkg/qdrant/collection_test.go:5
Function
TestGetCollection
(t *testing.T)
pkg/qdrant/collection_test.go:33
Function
TestSendChat
(t *testing.T)
pkg/openai/chat_test.go:8
Function
TestSendEmbeddings
(t *testing.T)
pkg/openai/embeddings_test.go:8
Function
chat
(c *gin.Context)
pkg/api/chat.go:17
Function
init
()
pkg/qdrant/collection.go:22
Function
init
()
pkg/common/log.go:12
Function
init
()
pkg/common/config.go:48
Function
main
()
cmd/server/main.go:9
Function
updateByJson
(c *gin.Context)
pkg/api/data.go:12