achat • AI Agent SDK
achat: Async chat method for image generation.
achat
Async
Method
</div>
This is a method of the ImageAgent class in the image_agent module.
Async chat method for image generation.
Signature
async def achat(prompt: str, temperature: float, tools: Optional[List[Any]], output_json: Optional[str], output_pydantic: Optional[Any], reasoning_steps: bool) -> Union[str, Dict[str, Any]]Parameters
ParamField
strNo description available.
ParamField
floatNo description available.
ParamField
OptionalNo description available.
ParamField
Optional[str]No description available.
ParamField
OptionalNo description available.
ParamField
boolNo description available.
Returns
ResponseField
Union[str, Dict[str, Any]]The result of the operation.
Uses
agenerate_image
Used By
Agent.run_autonomous_asyncTypedHandoff.execute_asyncAgentApproval.request_approvalLLMRuntimeWrapper.aexecute
Source
View on GitHubpraisonaiagents/agent/image_agent.py at line 225