|
@@ -20,6 +20,7 @@ from app.services.assistant.assistant import AssistantService
|
|
|
# query: str = Field(..., description="query to look up in retrieval")
|
|
|
class FileSearchToolInput(BaseModel):
|
|
|
query: str = Field(
|
|
|
+ ...,
|
|
|
description="query to look up in retrieval",
|
|
|
)
|
|
|
|
|
@@ -28,7 +29,7 @@ class FileSearchTool(BaseTool):
|
|
|
name: str = "file_search"
|
|
|
description: str = (
|
|
|
"Can be used to look up knowledge base or files content that was uploaded to this assistant."
|
|
|
- + "If the user is retrieve specified content from the knowledge base or file content, that is often a good hint that information may be here."
|
|
|
+ # + "If the user is retrieve specified content from the knowledge base or file content, that is often a good hint that information may be here."
|
|
|
+ "Singleton operation: Strictly 1 invocation per API call"
|
|
|
)
|
|
|
args_schema: Type[BaseModel] = FileSearchToolInput
|