feat: support xinference rerank to jina format

This commit is contained in:
1808837298@qq.com committed 2025-03-16 21:06:29 +08:00
1 parent 6e8916207e
commit 8918381c96
9 files changed
+84 -21

No files matched your search

+2 -2
View File
@@ -40,8 +40,8 @@ type CohereRerankRequest struct {
}
type CohereRerankResponseResult struct {
Results []dto.RerankResponseDocument `json:"results"`
Meta CohereMeta `json:"meta"`
Results []dto.RerankResponseResult `json:"results"`
Meta CohereMeta `json:"meta"`
}
type CohereMeta struct {