chatflock.conductors.round_robin

Module Contents

class chatflock.conductors.round_robin.RoundRobinChatConductor

Bases: chatflock.base.ChatConductor

Helper class that provides a standard way to create an ABC using inheritance.

select_next_speaker(chat)
Parameters:

chat (chatflock.base.Chat)

Return type:

Optional[chatflock.base.ActiveChatParticipant]

get_chat_result(chat)
Parameters:

chat (chatflock.base.Chat)

Return type:

str

is_termination_message(message)
Parameters:

message (chatflock.base.ChatMessage)

Return type:

bool