feat: support jina rerank

This commit is contained in:
CalciumIon
2024-07-06 18:42:48 +08:00
parent baa3a9bb8d
commit dbf5e07d96
8 changed files with 120 additions and 3 deletions
+3
View File
@@ -211,6 +211,7 @@ const (
ChannelTypeMiniMax = 35
ChannelTypeSunoAPI = 36
ChannelTypeDify = 37
ChannelTypeJina = 38
ChannelTypeDummy // this one is only for count, do not add any channel after this
@@ -254,4 +255,6 @@ var ChannelBaseURLs = []string{
"https://api.cohere.ai", //34
"https://api.minimax.chat", //35
"", //36
"", //37
"https://api.jina.ai", //38
}