jack 3 周之前
父節點
當前提交
854d7b8bbe
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/core/tools/file_search_tool.py

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

@@ -31,10 +31,10 @@ class FileSearchTool(BaseTool):
     name: str = "file_search"
     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."
-        "## Input Requirements:"
-        + "必须直接返回严格标准的JSON对象!绝对不要包含任何代码块、注释或额外符号。示例格式:{'query': 'query to look up in retrieval'}"
-        "Singleton operation: Strictly 1 invocation per API call"
+        + "If the user is referencing about specific content within files, that is often a good hint that information may be here."
+        + "## Input Requirements:"
+        + "The prompt must return a strictly standard JSON object! Absolutely no code blocks, comments, or extra symbols. Example format: {'query': 'query to look up in retrieval'}"
+        + "Singleton operation: Strictly 1 invocation per API call"
     )
     args_schema: Type[BaseModel] = FileSearchToolInput