This commit is contained in:
laodaming
2023-10-10 14:59:00 +08:00
parent 2068825ae1
commit 8593eb2dd3
4 changed files with 26 additions and 6 deletions

View File

@@ -32,6 +32,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/api/collection/test_ai",
Handler: TestAiHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/api/collection/test_pdf",
Handler: TestPdfHandler(serverCtx),
},
},
)
}