Skip to main content

chat

Method
This is a method of the Session class in the session module.
Send a message to the remote agent or handle local session.

Signature

def chat(message: str) -> str

Parameters

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

Returns

Returns
str
The agent’s response

Exceptions

If this is not a remote session
If unable to communicate with remote agent