achat • AI Agent SDK

achat: Asynchronous chat with the agent.

achat

Async

Method

</div>

This is a method of the AgentProtocol class in the protocols module.

Asynchronous chat with the agent.

Signature

python
async def achat(prompt: str) -> str

Parameters

ParamField str

The user prompt or message **kwargs: Additional optional parameters (temperature, tools, etc.)

Returns

ResponseField str

The agent’s response as a string

Used By

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 80


Related Documentation