Send Message • AI Agent SDK

send_message: Alias for chat() method to match Google ADK pattern.

send_message

Method

</div>

This is a method of the Session class in the session module.

Alias for chat() method to match Google ADK pattern.

Signature

python
def send_message(message: str) -> str

Parameters

ParamField str

The message to send to the agent **kwargs: Additional parameters for the request

Returns

ResponseField str

The agent’s response

Uses

  • chat

Source

View on GitHub

praisonaiagents/session.py at line 541