mirror of
https://github.com/alibaba/higress.git
synced 2026-05-25 21:28:17 +08:00
feat(ai-proxy): support Qwen reranks and conversations paths (#3724)
This commit is contained in:
@@ -71,6 +71,7 @@ const (
|
||||
ApiNameQwenAsyncAIGC ApiName = "qwen/v1/services/aigc"
|
||||
ApiNameQwenAsyncTask ApiName = "qwen/v1/tasks"
|
||||
ApiNameQwenV1Rerank ApiName = "qwen/v1/rerank"
|
||||
ApiNameQwenV1Conversations ApiName = "qwen/v1/conversations"
|
||||
ApiNameGeminiGenerateContent ApiName = "gemini/v1beta/generatecontent"
|
||||
ApiNameGeminiStreamGenerateContent ApiName = "gemini/v1beta/streamgeneratecontent"
|
||||
ApiNameAnthropicMessages ApiName = "anthropic/v1/messages"
|
||||
@@ -118,6 +119,10 @@ const (
|
||||
// Cohere
|
||||
PathCohereV1Rerank = "/v1/rerank"
|
||||
|
||||
// Qwen
|
||||
PathQwenV1Reranks = "/v1/reranks"
|
||||
PathQwenV1Conversations = "/v1/conversations"
|
||||
|
||||
providerTypeMoonshot = "moonshot"
|
||||
providerTypeAzure = "azure"
|
||||
providerTypeAi360 = "ai360"
|
||||
|
||||
Reference in New Issue
Block a user