You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
question: str=Field(..., description="The question to ask Perplexity AI")
129
129
user_location: Optional[Annotated[str, Field(..., description="The user location to use for the search")]] ="FR"
130
130
search_context_size: Optional[Annotated[str, Field(..., description="The search context size to use for the search", pattern="^(low|medium|high)$")]] ="medium"
131
131
132
+
classAdvancedSearchSchema(BaseModel):
133
+
question: str=Field(..., description="The question to ask Perplexity AI")
134
+
user_location: Optional[Annotated[str, Field(..., description="The user location to use for the search")]] ="FR"
135
+
132
136
return [
133
137
StructuredTool(
134
138
name="perplexity_quick_search",
135
139
description="A lightweight, cost-effective search model optimized for quick, grounded answers with real-time web search.",
description="Advanced search model designed for complex queries, delivering deeper content understanding with enhanced search result accuracy and 2x more search results than standard Sonar.",
description="Advanced search model designed for complex queries, delivering deeper content understanding with enhanced search result accuracy and 2x more search results than standard Sonar with high context size",
0 commit comments