|
@@ -15,13 +15,7 @@ import nest_asyncio
|
|
|
nest_asyncio.apply()
|
|
|
|
|
|
# asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
|
|
- """
|
|
|
- "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."
|
|
|
- """
|
|
|
- # query: str = Field(..., description="query to look up in retrieval")
|
|
|
-
|
|
|
+# query: str = Field(..., description="query to look up in retrieval")
|
|
|
class FileSearchToolInput(BaseModel):
|
|
|
query: str = Field(..., description="要搜索的关键词或短语,支持精确匹配.")
|
|
|
|