Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions reverie/backend_server/persona/cognitive_modules/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,17 @@ def generate_task_decomp(persona, task, duration):
def generate_action_sector(act_desp, persona, maze):
"""TODO
Given the persona and the task description, choose the action_sector.

Persona state: identity stable set, n-1 day schedule, daily plan

INPUT:
act_desp: description of the new action (e.g., "sleeping")
persona: The Persona class instance
maze: The Maze instance containing the environment layout
OUTPUT:
action_arena (e.g., "bedroom 2")
action_sector (e.g., "double studio")
EXAMPLE OUTPUT:
"bedroom 2"
"double studio"
"""
if debug: print ("GNS FUNCTION: <generate_action_sector>")
return run_gpt_prompt_action_sector(act_desp, persona, maze)[0]
Expand Down