Detect Strategy • Rust AI Agent SDK
detect_strategy: Detect the best rewriting strategy for a query
detect_strategy
Method
</div>
This is a method of the QueryRewriterAgent class in the specialized_agents module.
Detect the best rewriting strategy for a query
Signature
def detect_strategy(&self, query: &str, has_chat_history: bool) -> RewriteStrategyParameters
ParamField
&strNo description available.
ParamField
boolNo description available.
Returns
ResponseField
RewriteStrategyThe result of the operation.