animalnots/BetterChatGPT-PLUS

Save System Prompt for Each Folder

Open

#11 opened on 2024年7月7日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)TypeScript (51 forks)auto 404
featuregood first issue

Repository metrics

Stars
 (124 stars)
PR merge metrics
 (PR metrics pending)

説明

Description: Currently, BetterChatGPT allows the creation of folders to organize different types of work. To enhance this functionality, I propose the ability to save a unique system prompt for each folder. This feature will allow for better separation and context-specific interactions. For example, a folder dedicated to UI/UX work will have a system prompt related to UI/UX, and when a new chat is created within this folder, it will automatically initialize with the relevant system prompt.

Motivation: This feature will provide several benefits:

  • Improved Organization: Users can maintain distinct contexts for different types of projects without manually setting the system prompt each time.
  • Efficiency: Streamlines workflow by reducing the need to repetitively configure system prompts for new chats within a folder.
  • Contextual Relevance: Ensures that all interactions within a specific folder are relevant and consistent with the folder's purpose.

Proposed Implementation:

  1. Folder-Level Settings: Add an option in the folder settings to specify a system prompt.
  2. Default Initialization: When a new chat is created within a folder, it automatically initializes with the folder’s system prompt.
  3. Override Option: Allow users to override the default system prompt at the chat level if needed.

Example Use Case:

  1. Create a folder named "UI/UX".
  2. Set the system prompt for the "UI/UX" folder to: "You are a helpful assistant specializing in user interface and user experience design."
  3. Any new chat initiated within the "UI/UX" folder will start with the specified system prompt, ensuring relevant assistance.

Additional Context:

  • This feature should be intuitive and seamlessly integrate into the existing folder management system.
  • Consider adding an option to edit the system prompt directly from the folder view for quick adjustments.

Potential Challenges:

  • Ensuring backward compatibility with existing folders and chats.
  • User interface adjustments to incorporate the new settings option.

Priority: Medium

コントリビューターガイド