feat(knowledge): Support ark rerank (#852)

This commit is contained in:
liuyunchao-1998
2025-08-22 14:41:58 +08:00
committed by GitHub
parent 19c63a1150
commit 59c1d9aa03
6 changed files with 106 additions and 57 deletions

View File

@ -139,6 +139,16 @@ export GEMINI_EMBEDDING_LOCATION="" # (string, optional) Gemini
export HTTP_EMBEDDING_ADDR="" # (string, required) http embedding address
export HTTP_EMBEDDING_DIMS=1024 # (string, required) http embedding dimensions
# Settings for Rerank
# If you want to use the rerank-related functions in the knowledge base featureYou need to set up the rerank configuration.
export RERANK_TYPE="" # current support `vikingdb`,`rrf`,default:rrf
# vikingdb rerank
export VIKINGDB_RERANK_HOST="" # optional,default:api-knowledgebase.mlp.cn-beijing.volces.com
export VIKINGDB_RERANK_REGION="" # optional,default:cn-north-1
export VIKINGDB_RERANK_AK="" # required
export VIKINGDB_RERANK_SK="" # required
export VIKINGDB_RERANK_MODEL="" # optional,default:base-multilingual-rerank,also support m3-v2-rerank
# Settings for OCR
# If you want to use the OCR-related functions in the knowledge base featureYou need to set up the OCR configuration.
# Currently, Coze Studio has built-in Volcano OCR.