Srishti280992 commited on
Commit
4e69866
·
verified ·
1 Parent(s): a57fb0d

Update llm/world_generator.py

Browse files
Files changed (1) hide show
  1. llm/world_generator.py +9 -0
llm/world_generator.py CHANGED
@@ -74,6 +74,9 @@ Critical rules:
74
  - Do not include explanations.
75
  - Do not generate Python code.
76
  - Do not invent classes such as Sheep, Wolf, Scientist, Dragon, City, or Truck.
 
 
 
77
  - Use generic DSL entities: agents, resources, events, behaviors, policies.
78
  - Agents may have any imaginative type string, but the runtime object is still Agent.
79
  - Behaviors must be referenced by registry name.
@@ -168,6 +171,12 @@ adopt, switch, imitate, abandon, evaluate,
168
  prioritize, schedule, allocate_time, choose_goal,
169
  remember, forget, reinforce, update_belief.
170
 
 
 
 
 
 
 
171
  Known policy types include:
172
  rule_policy, contextual_bandit.
173
  """.strip()
 
74
  - Do not include explanations.
75
  - Do not generate Python code.
76
  - Do not invent classes such as Sheep, Wolf, Scientist, Dragon, City, or Truck.
77
+ - You must only use behavior names that are present in the known behavior list.
78
+ - If the user asks for hunting, predation, chasing, fighting, or killing, use attack, seek, flee, move, or raid.
79
+ - Do not invent behavior names such as hunt, graze, sleep, mate, patrol, forage, guard, chase, or rest unless they are explicitly listed in the known behavior registry.
80
  - Use generic DSL entities: agents, resources, events, behaviors, policies.
81
  - Agents may have any imaginative type string, but the runtime object is still Agent.
82
  - Behaviors must be referenced by registry name.
 
171
  prioritize, schedule, allocate_time, choose_goal,
172
  remember, forget, reinforce, update_belief.
173
 
174
+ Behavior mapping guidance:
175
+ - "hunt" should usually be represented as "attack" plus optionally "seek".
176
+ - "run away" should be represented as "flee".
177
+ - "look for" or "track" should be represented as "seek".
178
+ - "random movement" should be represented as "wander" or "move".
179
+
180
  Known policy types include:
181
  rule_policy, contextual_bandit.
182
  """.strip()