feat: support jina rerank

This commit is contained in:
CalciumIon
2024-07-06 18:42:48 +08:00
parent 3ed4f2f0a9
commit 8a730cfe12
8 changed files with 120 additions and 3 deletions

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
}