Detect Strategy • Rust AI Agent SDK

detect_strategy: Detect the best expansion strategy for a prompt

detect_strategy

Method

</div>

This is a method of the PromptExpanderAgent class in the specialized_agents module.

Detect the best expansion strategy for a prompt

Signature

python
def detect_strategy(&self, prompt: &str) -> ExpandStrategy

Parameters

ParamField &str

No description available.

Returns

ResponseField ExpandStrategy

The result of the operation.