Skip to main content

DefaultPattern

DefaultPattern implements a minimal pattern for simple agent interactions.
This replaces the previous BasePattern and provides a concrete implementation of the Pattern abstract base class.
Initialize the pattern with the required components.
Parameters:

Static Methods

create_default

Create a default pattern with minimal configuration.
This replaces the need for a separate BasePattern class by providing a factory method that creates a simple DefaultPattern instance.
Parameters:

Instance Methods

prepare_group_chat

Prepare the group chat with default configuration.
This implementation calls the parent class method but ensures that the group_after_work in the returned tuple is the pattern’s own.
Parameters: Returns: