Skip to content

Limit filters categories to 1K; Limit vector resutls to top 1K#2802

Merged
beastoin merged 1 commit into
mainfrom
fbphf_chat
Aug 15, 2025
Merged

Limit filters categories to 1K; Limit vector resutls to top 1K#2802
beastoin merged 1 commit into
mainfrom
fbphf_chat

Conversation

@beastoin
Copy link
Copy Markdown
Collaborator

@beastoin beastoin commented Aug 15, 2025

what's included?

  • limit the filter categories to 1000 instead of unlimited
  • limit the topK on vector queries to 1000 instead of 10000

-> these help speed up the chat feature and improve safety when dealing with large amounts of topics from power users.

\---
redis-13151.c1.us-central1-2.gce.redns.redis-cloud.com:13151> SCARD users:xyz:filters:topics
(integer) 13340
\---

deploy:

@beastoin beastoin merged commit 1507316 into main Aug 15, 2025
1 check passed
@beastoin beastoin deleted the fbphf_chat branch August 15, 2025 09:29
Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant