jack 3 weeks ago
parent
commit
848a06fc56
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/core/tools/file_search_tool.py

+ 2 - 2
app/core/tools/file_search_tool.py

@@ -32,9 +32,9 @@ class FileSearchTool(BaseTool):
     description: str = (
         "Can be used to look up knowledge base information that was uploaded to this assistant."
         "If the user is referencing about specific content within files, that is often a good hint that information may be here."
-        "Singleton operation: Strictly 1 invocation per API call"
         "## Input Requirements:"
-        + "Directly return pure JSON parameters without including code blocks)"
+        + "必须直接返回严格标准的JSON对象!绝对不要包含任何代码块、注释或额外符号。示例格式:{'query': 'query to look up in retrieval'}"
+        "Singleton operation: Strictly 1 invocation per API call"
     )
     args_schema: Type[BaseModel] = FileSearchToolInput