MCPcopy Create free account

hub / github.com/coderabbit214/document-ai / functions

Functions29 in github.com/coderabbit214/document-ai

↓ 6 callersFunctionError
Error 错误
pkg/common/result.go:20
↓ 4 callersFunctionSend
(httpMethod string, suffix string, reqBytes []byte)
pkg/qdrant/common.go:10
↓ 3 callersFunctionSendEmbeddings
SendEmbeddings returns an EmbeddingResponse
pkg/openai/embeddings.go:35
↓ 3 callersFunctionSuccess
Success 成功
pkg/common/result.go:15
↓ 2 callersFunctionCreateCollection
CreateCollection creates a collection in qdrant
pkg/qdrant/collection.go:38
↓ 2 callersFunctionGetCollection
(name string)
pkg/qdrant/collection.go:64
↓ 2 callersFunctionSend
(suffix string, reqBytes []byte)
pkg/openai/common.go:21
↓ 2 callersFunctionSendChat
SendChat returns an ChatCompletionResponse
pkg/openai/chat.go:68
↓ 1 callersFunctionCors
()
pkg/api/routers.go:33
↓ 1 callersFunctionCreatePoints
(collectionName string, pointRequest PointRequest)
pkg/qdrant/point.go:55
↓ 1 callersMethodReload
()
pkg/common/config.go:35
↓ 1 callersFunctionSearchPoints
(collectionName string, pointSearchRequest PointSearchRequest)
pkg/qdrant/point.go:81
↓ 1 callersFunctionSetupRouter
()
pkg/api/routers.go:8
↓ 1 callersFunctiongetColorEncoder
()
pkg/common/log.go:32
↓ 1 callersFunctiongetEncoder
()
pkg/common/log.go:39
↓ 1 callersFunctiongetLogWriter
()
pkg/common/log.go:46
FunctionError
(c *gin.Context)
pkg/api/healthy.go:13
FunctionGenerateUUID
GenerateUUID 生成uuid
pkg/common/uuid.go:9
FunctionHealthy
(c *gin.Context)
pkg/api/healthy.go:9
FunctionTestCreateCollection
(t *testing.T)
pkg/qdrant/collection_test.go:5
FunctionTestGetCollection
(t *testing.T)
pkg/qdrant/collection_test.go:33
FunctionTestSendChat
(t *testing.T)
pkg/openai/chat_test.go:8
FunctionTestSendEmbeddings
(t *testing.T)
pkg/openai/embeddings_test.go:8
Functionchat
(c *gin.Context)
pkg/api/chat.go:17
Functioninit
()
pkg/qdrant/collection.go:22
Functioninit
()
pkg/common/log.go:12
Functioninit
()
pkg/common/config.go:48
Functionmain
()
cmd/server/main.go:9
FunctionupdateByJson
(c *gin.Context)
pkg/api/data.go:12