语言检测并动态更新语种 TODO 后续切换为llm识别用户语种意图模式
This commit is contained in:
@@ -79,8 +79,8 @@ from langchain.tools import tool
|
||||
@tool
|
||||
async def topic_research(topic: List[str], max_urls: int = 5) -> str:
|
||||
"""
|
||||
深度调研工具(DuckDuckGo版本)。
|
||||
根据多个主题关键词进行搜索,返回去重后的高质量 URL 列表(JSON字符串)。
|
||||
In-depth research tool (DuckDuckGo version).
|
||||
Search based on multiple topic keywords and return a high-quality URL list (JSON string) after deduplication.
|
||||
"""
|
||||
|
||||
# DuckDuckGo 是同步库,需要丢到线程池
|
||||
|
||||
Reference in New Issue
Block a user