Skip to main content

on_message

Method
This is a method of the RealtimeAgent class in the realtime_agent module.
Register callback for text messages.

Signature

Parameters

callback
Callable
required
Function to call with message text

Source

View on GitHub

praisonaiagents/agent/realtime_agent.py at line 349