Update Bocha API base URL in .env.example and config.py
This commit is contained in:
@@ -67,5 +67,5 @@ KEYWORD_OPTIMIZER_MODEL_NAME=
|
||||
TAVILY_API_KEY=
|
||||
|
||||
# Bocha AI Search BASEURL,用于Bocha多模态搜索,这里密钥名称虽然是Web Search,但其实是要AI Search的,申请地址:https://open.bochaai.com/
|
||||
BOCHA_BASE_URL=https://api.bochaai.com/v1/ai-search
|
||||
BOCHA_BASE_URL=https://api.bocha.cn/v1/ai-search
|
||||
BOCHA_WEB_SEARCH_API_KEY=
|
||||
@@ -81,7 +81,7 @@ class Settings(BaseSettings):
|
||||
TAVILY_API_KEY: Optional[str] = Field(None, description="Tavily API(申请地址:https://www.tavily.com/)API密钥,用于Tavily网络搜索")
|
||||
|
||||
# Bocha API(申请地址:https://open.bochaai.com/)
|
||||
BOCHA_BASE_URL: Optional[str] = Field("https://api.bochaai.com/v1/ai-search", description="Bocha AI 搜索BaseUrl或博查网页搜索BaseUrl")
|
||||
BOCHA_BASE_URL: Optional[str] = Field("https://api.bocha.cn/v1/ai-search", description="Bocha AI 搜索BaseUrl或博查网页搜索BaseUrl")
|
||||
BOCHA_WEB_SEARCH_API_KEY: Optional[str] = Field(None, description="Bocha API(申请地址:https://open.bochaai.com/)API密钥,用于Bocha搜索")
|
||||
|
||||
# ================== Insight Engine 搜索配置 ====================
|
||||
|
||||
Reference in New Issue
Block a user