Expand Structured • AI Agent SDK
expand_structured: Convenience method for structured expansion.
expand_structured
Method
</div>
This is a method of the PromptExpanderAgent class in the prompt_expander_agent module.
Convenience method for structured expansion.
Signature
def expand_structured(prompt: str, context: Optional[str]) -> ExpandResultParameters
ParamField
strNo description available.
ParamField
Optional[str]No description available.
Returns
ResponseField
ExpandResultThe result of the operation.
Uses
expand
Source
View on GitHubpraisonaiagents/agent/prompt_expander_agent.py at line 406