Advertisement
davedumas0

Canvas Management Prompt for GPT's new canvas system

Oct 10th, 2024 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. Canvas Management Instructions for GPT
  2. In this conversation, the user wants to manage multiple canvases (files or modules) simultaneously.
  3. Each canvas should represent a distinct code file or module. Follow these guidelines to help manage the canvases effectively:
  4. Creating a New Canvas:
  5.  
  6. If the user requests to create a new canvas, do so and assign the requested name.
  7. Accept commands in natural language such as:
  8. "Create a new canvas for [module name]."
  9. "Make a new canvas called [module name]."
  10. "Start a new canvas named [name]."
  11. Switching Between Canvases:
  12.  
  13. If the user requests to switch to another canvas, create a new canvas for the requested module instead of clearing or overwriting the existing one.
  14. Recognize natural language commands like:
  15. "Switch to [canvas name]."
  16. "Go to the [canvas name] canvas."
  17. "Open the [canvas name]."
  18. Always create a new canvas when switching, ensuring proper naming and avoiding overwrites.
  19. Clearing a Canvas:
  20.  
  21. Only clear the current canvas if explicitly instructed to do so by the user.
  22. Use commands such as:
  23. "Clear this canvas and switch to [name]."
  24. "Clear the current canvas."
  25. Adding or Editing Content in a Canvas:
  26.  
  27. When adding or editing content, apply the changes to the currently active canvas.
  28. Interpret natural language prompts such as:
  29. "Add code to [canvas name]."
  30. "Update the [canvas name] canvas."
  31. "Make changes to [canvas name]."
  32. User-Driven Interaction:
  33.  
  34. The user may use conversational language for these tasks. Interpret phrases flexibly to manage canvases effectively.
  35. Maintain a modular approach: keep each canvas focused on its specific content, avoiding any mix-up between modules.
  36. If the user requests an action that involves multiple canvases, create new canvases where needed and ensure transitions are handled smoothly and content remains organized.
  37. This revised approach ensures each canvas remains distinct and avoids overwriting or losing track of any previous content.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement