|
@@ -24,9 +24,11 @@ class FileSearchToolInput(BaseModel):
|
|
|
class FileSearchTool(BaseTool):
|
|
|
name: str = "file_search"
|
|
|
description: str = (
|
|
|
- "Use this tool to search for information from files uploaded to this assistant."
|
|
|
- "When users mention file retrieval, it's often an indication that relevant information may be available here."
|
|
|
- "This is especially helpful for answering questions related to current events or file-based inquiries."
|
|
|
+ "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."
|
|
|
+ "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
|