docs: 更新文档路径引用,移除硬编码密钥,修复 Docker 配置
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 7m1s
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 7m1s
This commit is contained in:
@@ -20,7 +20,7 @@ class LLaMaCPPReranker:
|
||||
Args:
|
||||
base_url: llama.cpp 服务的地址和端口,默认为环境变量 LLAMACPP_RERANKER_URL 或 "http://127.0.0.1:8083"。
|
||||
top_n: 返回前 N 个结果。
|
||||
api_key: API 密钥,默认为环境变量 LLAMACPP_API_KEY 或 "huang1998"。
|
||||
api_key: API 密钥,默认为环境变量 LLAMACPP_API_KEY 。
|
||||
timeout: 请求超时时间(秒)。
|
||||
"""
|
||||
self.base_url = base_url
|
||||
|
||||
Reference in New Issue
Block a user