|
@@ -33,7 +33,10 @@ class FileSearchTool(BaseTool):
|
|
|
name: str = "file_search"
|
|
|
description: str = (
|
|
|
"Can be used to look up information that was uploaded to this assistant."
|
|
|
- "If the user is referencing particular files, that is often a good hint that information may be here."
|
|
|
+ # "If the user is referencing particular files, that is often a good hint that information may be here."
|
|
|
+ "A search engine optimized for comprehensive, accurate, and trusted results. "
|
|
|
+ "Useful for when you need to answer questions about current events. "
|
|
|
+ "Input should be a search query."
|
|
|
)
|
|
|
|
|
|
args_schema: Type[BaseModel] = FileSearchToolInput
|
|
@@ -174,7 +177,9 @@ class FileSearchTool(BaseTool):
|
|
|
+ "\nMake sure to be extremely concise when using attached files. "
|
|
|
)
|
|
|
"""
|
|
|
- return 'You can use the "retrieval or FileSearchTool" 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.'
|
|
|
+ return 'You can use the "retrieval" tool to search for relevant information within the attached files. Please 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.'
|
|
|
|
|
|
|
|
|
'''
|