|
@@ -178,9 +178,8 @@ class FileSearchTool(BaseTool):
|
|
|
# + "\n".join(filenames_info)
|
|
|
+ "\nMake sure to be extremely concise when using attached files. "
|
|
|
)
|
|
|
- """
|
|
|
- # return 'You can use the "retrieval" tool to search for relevant information. Please specify the keywords or context you are looking for to retrieve the most relevant content.'
|
|
|
- return (
|
|
|
+
|
|
|
+ return (
|
|
|
'当用户使用以下动词时,必须调用 "retrieval" tool: '
|
|
|
+ "- 搜索/查找/检索/调取/查看/找/有没有..."
|
|
|
+ "输入格式: "
|
|
@@ -188,5 +187,8 @@ class FileSearchTool(BaseTool):
|
|
|
+ ' "query": "用户问题中的关键词",'
|
|
|
+ "}"
|
|
|
)
|
|
|
+ """
|
|
|
+ return '## important:You can use the "retrieval" tool to search for relevant information within the attached files. If you are asking about the content of the files, please specify any keywords, topics, or context you are looking for to help retrieve the most relevant content. When inquiring about specific file details, make sure to mention the file-related context so the tool can provide accurate results.'
|
|
|
+ # return 'You can use the "retrieval" tool to search for relevant information. Please specify the keywords or context you are looking for to retrieve the most relevant content.'
|
|
|
|
|
|
#'You can use the "retrieval" to search for relevant information within the attached files. Please specify the keywords or context you are looking for to retrieve the most relevant content.'
|