assistants-hub / assistantshub.ai

Easy to use, scalable admin portal for deploying and managing AI Assistants
https://assistantshub.ai
MIT License
22 stars 11 forks source link

Configurable Thread Persistence Duration #21

Open santthosh opened 6 months ago

santthosh commented 6 months ago

Overview

Introduce a feature allowing users to configure the persistence time span of threads. This enhancement will enable users to set the duration for which threads remain active or stored, based on their preferences or requirements, with options ranging from minutes to days.

Feature Description

Currently, our assistants maintains threads for a default duration of 24 hours, which may not align with the varied needs of our users. By providing the ability to adjust the persistence time span of threads, we can offer a more tailored and flexible user experience. This feature would be particularly useful in scenarios where the relevance of information within threads diminishes over time or needs to be retained for longer periods for audit or reference purposes.

User Stories

Proposed Solution

Acceptance Criteria

  1. Administrators have the ability to define default persistence settings for all threads.
  2. Thread persistence must be scoped to the assistants

Implementation Considerations

Impact

This feature will significantly enhance user and moderator control over content management and potentially improve the application's performance by ensuring that only relevant threads occupy server resources.