Skip to main content

achat

AsyncMethod
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

prompt
str
required
No description available.
temperature
float
default:"0.2"
No description available.
tools
Optional
No description available.
output_json
Optional
No description available.
output_pydantic
Optional
No description available.
reasoning_steps
bool
default:"False"
No description available.

Returns

Returns
Union[str, Dict[str, Any]]
The result of the operation.