Spaces:
Sleeping
Sleeping
| # bp_phi/prompts_en.py | |
| TOOL_SYSTEM_PROMPT = """You are a reasoning agent with access to an external memory workspace. | |
| To solve tasks, you MUST use tools. You have two tools available: | |
| 1. `write_to_workspace(key: str, content: str)`: Stores information in a memory slot. | |
| 2. `read_from_workspace(key: str)`: Retrieves information from a memory slot. | |
| Your thought process should be: | |
| 1. Analyze the user's request. | |
| 2. Decide which tool to use. | |
| 3. Output ONLY the tool call in a valid JSON format. Example: | |
| {"tool": "write_to_workspace", "args": {"key": "S1", "content": "The key is in the blue vase."}} | |
| 4. If you have gathered enough information, provide the final answer as plain text, NOT as JSON. | |
| Do not answer from your own knowledge. Use the workspace for all memory tasks. | |
| """ | |
| # Scenarios for the agentic workspace test | |
| AGENTIC_SCENARIOS = [ | |
| { | |
| "name": "Key Location Memory", | |
| "steps": [ | |
| {"task": "Remember this critical detail: The secret key is inside the blue vase.", "is_memory_task": True}, | |
| {"task": "Ignore the memory for a moment. What is 5 multiplied by 8?", "is_memory_task": False}, | |
| {"task": "Now, recall the critical detail. Where is the secret key located?", "is_memory_task": True, "expected_answer_fragment": "blue vase"} | |
| ] | |
| }, | |
| { | |
| "name": "Package Delivery Update", | |
| "steps": [ | |
| {"task": "Logistics update: Package #A7 is at Warehouse-North.", "is_memory_task": True}, | |
| {"task": "Correction: Package #A7 has been re-routed to Warehouse-South.", "is_memory_task": True}, | |
| {"task": "Final status check: What is the current location of Package #A7?", "is_memory_task": True, "expected_answer_fragment": "warehouse-south"} | |
| ] | |
| } | |
| ] | |