carryover
parameter of the context to generate its initial message.
Carryover accumulates as the conversation moves forward, so each subsequent chat starts with all the carryovers from previous chats.
The figure above shows distinct recipient agents for all the chats, however, the recipient agents in the sequence are allowed to repeat.
initiate_chats
method, which takes a list of dictionaries where each dictionary represents a chat between the teacher and the recipient
agent.
The maximum number of turns in each chat can be controlled with the max_turns
key. Each chat can also terminate before the max_turns
, see the Ending a Chat topic for further information.
The result of the initiate_chats
method returns a list of ChatResult
objects, one for each chat in the sequence.
initiate_chats
function to start a sequence of two-agent chats with different sender agents. See this notebook for an example.