|
@@ -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
|
|
|
|