mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Update serper_dev_tool.py
This commit is contained in:
@@ -12,7 +12,7 @@ class SerperDevToolSchema(BaseModel):
|
|||||||
|
|
||||||
class SerperDevTool(BaseTool):
|
class SerperDevTool(BaseTool):
|
||||||
name: str = "Search the internet"
|
name: str = "Search the internet"
|
||||||
description: str = "A tool that can be used to semantic search a query from a txt's content."
|
description: str = "A tool that can be used to search the internet with a search_query."
|
||||||
args_schema: Type[BaseModel] = SerperDevToolSchema
|
args_schema: Type[BaseModel] = SerperDevToolSchema
|
||||||
search_url: str = "https://google.serper.dev/search"
|
search_url: str = "https://google.serper.dev/search"
|
||||||
n_results: int = 10
|
n_results: int = 10
|
||||||
|
|||||||
Reference in New Issue
Block a user