Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structured Repeatable Prompts #20

Open
paullizer opened this issue Jan 29, 2025 · 0 comments
Open

Structured Repeatable Prompts #20

paullizer opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@paullizer
Copy link
Contributor

paullizer commented Jan 29, 2025

Overview

Enable users and groups to create and reuse structured repeatable prompts from the chat page. This feature enhances productivity by allowing users to define reusable AI queries, reducing repetitive manual input. These prompts can be managed and accessed from an updated Your Docs section (or a renamed equivalent that supports both user documents and structured prompts).


Feature Scope

  1. Create and Manage Structured Prompts

    • Allow users to create personal reusable prompts.
    • Enable group-level prompts that Group Owners or Admins can create for shared use.
    • Include an optional metadata structure (e.g., categories, tags, or default inputs).
  2. Assign and Reuse Prompts in Chat

    • Integrate a prompt selection menu in the chat page.
    • Users can select a saved prompt instead of manually entering text.
    • Provide a way to assign prompts to specific use cases (e.g., document generation, summarization, Q&A).
  3. Centralized Prompt Management

    • Update the Your Docs section (or rename it to support prompts).
    • Allow users to edit, delete, and organize their prompts from this page.
    • Group-level prompts should be manageable by Group Owners/Admins from a My Groups settings area.

Recommendations & Advice

1. Should "Your Docs" Be Renamed?

Since this feature expands beyond just documents, renaming Your Docs to something broader (e.g., Your Workspace, Your Content, or Your Resources) may make sense. This way, the section naturally accommodates both documents and structured prompts without feeling out of place.

2. UI Considerations

  • The chat page should have a quick-access dropdown or menu for selecting saved prompts.
  • The Your Docs (or new name) section should support filtering prompts vs. documents.
  • A simple tagging system could help users organize their saved prompts efficiently.

3. How Groups Should Manage Prompts

  • Group-level prompts should be created and managed in My Groups by Owners/Admins.
  • All group members should be able to use these prompts, but only admins can edit/delete them.
  • If groups are later extended for collaborative AI workflows, structured prompts could serve as templates for group-based AI interactions.

4. Future Considerations (Optional Enhancements)

  • Prompt Templates: Offer prebuilt structured prompts for common tasks (e.g., meeting summaries, content drafts).
  • Auto-Fill Inputs: Allow users to define default input values in structured prompts.
  • Prompt Sharing: Let users share prompts with others, even outside of groups.

Implementation Considerations

  • Data Storage: Structured prompts should be stored in Cosmos DB under User Docs (personal prompts) and Group Docs (group prompts) with metadata for easy retrieval.
  • Security & Permissions: Ensure users can only modify their own prompts and that group prompts adhere to admin permissions.
  • Scalability: A structured format for prompts will allow for future AI workflow automation, integrating reusable AI queries with documents and other content.

This feature will streamline AI interactions, making it easier for users and groups to work efficiently without manually recreating prompts for common use cases.

@paullizer paullizer self-assigned this Feb 4, 2025
@paullizer paullizer added the enhancement New feature or request label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant