Agent

Agent

class rasa.core.agent.Agent(
    domain=None,
    policies=None,
    interpreter=None,
    generator=None,
    tracker_store=None,
    lock_store=None,
    action_endpoint=None,
    fingerprint=None,
    model_directory=None,
    model_server=None,
    remote_storage=None,
    path_to_model_archive=None,
)

The Agent class provides a convenient interface for the most important Rasa functionality.

This includes training, handling messages, loading a dialogue model, getting the next action, and handling a channel.

async def execute_action(sender_id, action, output_channel, policy, confidence)

Handle a single message.

Return type: DialogueStateTracker

👋 I can help you get started with Rasa and answer your technical questions.