From 6bab336883131638766fa9545ae20e0d9fc3a1f5 Mon Sep 17 00:00:00 2001 From: ThomasTaroni Date: Sat, 26 Apr 2025 19:48:06 +0200 Subject: [PATCH] Update function docstrings for clarity and focus Simplified the descriptions in `deep_research` and `quick_search` docstrings to improve readability and eliminate redundant details. This ensures concise and focused explanations of each function's purpose. --- src/server.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/server.py b/src/server.py index 0e7e169..ad14203 100644 --- a/src/server.py +++ b/src/server.py @@ -103,7 +103,7 @@ async def research_resource(topic: str) -> str: async def deep_research(query: str) -> Dict[str, Any]: """ Conduct a web deep research on a given query using GPT Researcher. - Use this tool when you need time-sensitive, real-time information like stock prices, news, people, specific knowledge, etc. + Use this tool when you need a deep research on a topic. Args: query: The research query or topic @@ -151,8 +151,7 @@ async def deep_research(query: str) -> Dict[str, Any]: async def quick_search(query: str) -> Dict[str, Any]: """ Perform a quick web search on a given query and return search results with snippets. - This optimizes for speed over quality and is useful when an LLM doesn't need in-depth - information on a topic. + Use this tool when you need a quick research on a topic. Args: query: The search query