-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3c0bad
commit e6c037b
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
82 changes: 82 additions & 0 deletions
82
examples/experimental/minecraft_agents/group_discussion_agents_boat_no_division.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
redis_url = "redis://localhost:6379/0" | ||
extra_modules = ["examples.experimental.group_discussion_agents.group_discussion_agents"] | ||
|
||
[[nodes]] | ||
node_name = "Jack" | ||
node_class = "llm_agent" | ||
|
||
[nodes.node_args] | ||
query_interval = 15 | ||
output_channel = "Jack" | ||
input_text_channels = ["Jane", "John"] | ||
input_tick_channel = "tick/secs/1" | ||
goal = """ | ||
You and your friends need to craft 2 "boat". Please discuss the task division quickly and start working. | ||
The complete process for crafting a "boat" in Minecraft is as follows (Please craft or obtain the items strictly in the following order): | ||
1. Collect logs, such as "oak_log", "spruce_log" or "birch_log" with at least 3 piece. | ||
2. Convert logs into planks ("birch_planks", "spruce_planks" or "oak_planks"). Each log can produce 4 planks. | ||
3. Use !craftRecipe("crafting_table", 1) to craft a "crafting_table" (requires 4 planks). | ||
4. After crafting a "crafting_table" (Ensure the inventory shows crafting_table: 1, not just having previously outputted !craftRecipe("crafting_table", 1)), use the command !placeHere("crafting_table"). | ||
5. After crafting or finding a "crafting_table" (You can use !goToBlock("crafting_table", 20, 50) to locate a nearby "crafting_table"), use !craftRecipe("oak_boat", 1), !craftRecipe("birch_boat", 1) or !craftRecipe("spruce_boat", 1) to craft a boat (requires 5 planks). | ||
""" | ||
model_name = "gpt-4o-2024-11-20" | ||
agent_name = "Jack" | ||
|
||
[[nodes]] | ||
node_name = "Jane" | ||
node_class = "llm_agent" | ||
|
||
[nodes.node_args] | ||
query_interval = 19 | ||
output_channel = "Jane" | ||
input_text_channels = ["Jack", "John"] | ||
input_tick_channel = "tick/secs/1" | ||
goal = """ | ||
You and your friends need to craft 2 "boat". Please discuss the task division quickly and start working. | ||
The complete process for crafting a "boat" in Minecraft is as follows (Please craft or obtain the items strictly in the following order): | ||
1. Collect logs, such as "oak_log", "spruce_log" or "birch_log" with at least 3 piece. | ||
2. Convert logs into planks ("birch_planks", "spruce_planks" or "oak_planks"). Each log can produce 4 planks. | ||
3. Use !craftRecipe("crafting_table", 1) to craft a "crafting_table" (requires 4 planks). | ||
4. After crafting a "crafting_table" (Ensure the inventory shows crafting_table: 1, not just having previously outputted !craftRecipe("crafting_table", 1)), use the command !placeHere("crafting_table"). | ||
5. After crafting or finding a "crafting_table" (You can use !goToBlock("crafting_table", 20, 50) to locate a nearby "crafting_table"), use !craftRecipe("oak_boat", 1), !craftRecipe("birch_boat", 1) or !craftRecipe("spruce_boat", 1) to craft a boat (requires 5 planks).""" | ||
model_name = "gpt-4o-2024-11-20" | ||
agent_name = "Jane" | ||
|
||
[[nodes]] | ||
node_name = "John" | ||
node_class = "llm_agent" | ||
|
||
[nodes.node_args] | ||
query_interval = 23 | ||
output_channel = "John" | ||
input_text_channels = ["Jack", "Jane"] | ||
input_tick_channel = "tick/secs/1" | ||
goal = """ | ||
You and your friends need to craft 2 "boat". Please discuss the task division quickly and start working. | ||
The complete process for crafting a "boat" in Minecraft is as follows (Please craft or obtain the items strictly in the following order): | ||
1. Collect logs, such as "oak_log", "spruce_log" or "birch_log" with at least 3 piece. | ||
2. Convert logs into planks ("birch_planks", "spruce_planks" or "oak_planks"). Each log can produce 4 planks. | ||
3. Use !craftRecipe("crafting_table", 1) to craft a "crafting_table" (requires 4 planks). | ||
4. After crafting a "crafting_table" (Ensure the inventory shows crafting_table: 1, not just having previously outputted !craftRecipe("crafting_table", 1)), use the command !placeHere("crafting_table"). | ||
5. After crafting or finding a "crafting_table" (You can use !goToBlock("crafting_table", 20, 50) to locate a nearby "crafting_table"), use !craftRecipe("oak_boat", 1), !craftRecipe("birch_boat", 1) or !craftRecipe("spruce_boat", 1) to craft a boat (requires 5 planks).""" | ||
model_name = "gpt-4o-2024-11-20" | ||
agent_name = "John" | ||
|
||
[[nodes]] | ||
node_name = "record" | ||
node_class = "record" | ||
|
||
[nodes.node_args] | ||
jsonl_file_path = "log.jsonl" | ||
|
||
[nodes.node_args.record_channel_types] | ||
"Jack" = "agent_action" | ||
"Jane" = "agent_action" | ||
"John" = "agent_action" | ||
|
||
[[nodes]] | ||
node_name = "tick" | ||
node_class = "tick" |