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

python
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 str

No description available.

ParamField float

No description available.

ParamField Optional

No description available.

ParamField Optional[str]

No description available.

ParamField Optional

No description available.

ParamField bool

No description available.

Returns

ResponseField Union[str, Dict[str, Any]]

The result of the operation.

Uses

  • agenerate_image

Used By

Source

View on GitHub

praisonaiagents/agent/image_agent.py at line 225


Related Documentation