Skip to main content

rewrite_query

Method
This is a method of the DeepResearchAgent class in the deep_research_agent module.
Rewrite a research query to be more specific and detailed.

Signature

def rewrite_query(query: str, model: Optional[str]) -> str

Parameters

query
str
required
The initial research query
model
Optional
Model to use for rewriting

Returns

Returns
str
Rewritten, more detailed query