Skip to content

[FEAT]: Workspace Templates (Gemini Gems) #4769

@17ColinMiPerry

Description

@17ColinMiPerry

What would you like to see?

Google Gemini's workspace allows for the creation of "Gems", which are essentially workspace templates that allow for chats to be quickly made with custom specified system prompts, embedded files, and other context.

I think this could be especially powerful in AnythingLLM, as users may want to quickly stamp out entire workspaces for different tasks or users.

Proposed Features

  • The ability to save workspace general settings as an editable and reusable template
  • The ability to create workspaces using saved templates
  • The ability to override existing workspace configurations with templates
  • The ability to embed files into a workspace created with a template (so long as the file still exists)

Considerations

  • Configs might change in non-destructive ways - for instance, if a user wanted to apply a template to a workspace which changes the system prompt, it should not wipe the the vector db of that workspace. Workspace configuration using templates should use some form of smart diffing
  • Changes to workspace settings should be non-breaking. Invocation of a template to create a workspace should always fallback to the system default. Updating the template system should be made trivial
  • The Prisma schema will have to change to accommodate the new WorkspaceTemplates. Templates should probably be stored as a json as to not break in the event of a change in config architecture
  • Template view/editing/saving probably ought to be gated behind RBAC in multiuser mode

Quick Mockup

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions