feat: support /v1/rerank router

This commit is contained in:
nongqiqin
2024-04-30 12:29:41 +08:00
parent 2720e1a358
commit 893c9adeb9
8 changed files with 133 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ func SetRelayRouter(router *gin.Engine) {
relayV1Router.POST("/audio/transcriptions", controller.Relay)
relayV1Router.POST("/audio/translations", controller.Relay)
relayV1Router.POST("/audio/speech", controller.Relay)
relayV1Router.POST("/rerank", controller.Relay)
relayV1Router.GET("/files", controller.RelayNotImplemented)
relayV1Router.POST("/files", controller.RelayNotImplemented)
relayV1Router.DELETE("/files/:id", controller.RelayNotImplemented)