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

Server-Side Filtering in conversations.list() Method #488

Closed
humanagent opened this issue Nov 4, 2023 · 1 comment
Closed

Server-Side Filtering in conversations.list() Method #488

humanagent opened this issue Nov 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@humanagent
Copy link
Contributor

humanagent commented Nov 4, 2023

Feature Request:

Enhance the conversations.list() function to support server-side time-based filtering and provide sorting by the most recent messages.

Current Behavior:

The function fetches all conversations and applies filters like startTime and endTime only after loading, which is not efficient.

Desired Features:

  1. Server-Side Time Filtering: Allow filtering conversations by startTime and endTime on the server before fetching to the client.
  2. Recent Message Sorting: Enable sorting by the timestamp of the most recent message while respecting protocol privacy.
@humanagent humanagent added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Nov 4, 2023
@rygine
Copy link
Collaborator

rygine commented Dec 7, 2023

see this blog post that outlines why the current behavior is intentional.

@rygine rygine closed this as completed Dec 7, 2023
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

2 participants