langchain/docs/use_cases/agent_simulations
mbchang 4bc209c6f7
example: multi player dnd (#3560)
This notebook shows how the DialogueAgent and DialogueSimulator class
make it easy to extend the [Two-Player Dungeons & Dragons
example](https://python.langchain.com/en/latest/use_cases/agent_simulations/two_player_dnd.html)
to multiple players.

The main difference between simulating two players and multiple players
is in revising the schedule for when each agent speaks

To this end, we augment DialogueSimulator to take in a custom function
that determines the schedule of which agent speaks. In the example
below, each character speaks in round-robin fashion, with the
storyteller interleaved between each player.
2023-04-25 21:20:39 -07:00
..
camel_role_playing.ipynb
characters.ipynb Move Generative Agent definition to Experimental (#3245) 2023-04-23 18:32:37 -07:00
multi_player_dnd.ipynb example: multi player dnd (#3560) 2023-04-25 21:20:39 -07:00
two_player_dnd.ipynb docs: simplification of two agent d&d simulation (#3550) 2023-04-25 16:10:32 -07:00