feat(lkeap): integrate Tencent Cloud LKEAP Rerank support

- Added support for Tencent Cloud LKEAP Rerank, including new configuration options for SecretId and SecretKey.
- Updated frontend components to handle LKEAP-specific fields and enhance user experience with appropriate labels and placeholders.
- Enhanced backend logic to manage LKEAP credentials and integrate with the new rerank API.
- Improved localization for LKEAP-related terms across multiple languages, ensuring clarity and consistency in user-facing messages.
- Introduced tests for LKEAP Reranker functionality to ensure reliability and correctness in handling requests.
This commit is contained in:
wizardchen
2026-06-04 17:17:35 +08:00
committed by lyingbug
parent 12ea490d89
commit dda16436d0
16 changed files with 340 additions and 25 deletions
+2
View File
@@ -55,6 +55,8 @@ require (
github.com/swaggo/gin-swagger v1.6.1
github.com/swaggo/swag v1.16.6
github.com/tencent/vectordatabase-sdk-go v1.8.4
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.3.103
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lkeap v1.3.103
github.com/tencentyun/cos-go-sdk-v5 v0.7.73
github.com/tiktoken-go/tokenizer v0.7.0
github.com/volcengine/ve-tos-golang-sdk/v2 v2.9.4