daun
daun
CCConvex Community
Created by daun on 5/2/2024 in #support-community
'Add new document' is not loading.
No description
12 replies
CCConvex Community
Created by daun on 3/14/2024 in #support-community
Rate limiting / limiting paginated queries
Hi Convex community 🙂 I'm looking for a way to rate limit or limit paginated queries, or related workarounds. I've already read the docs - https://docs.convex.dev/database/pagination however, I could not find a good way to limit number of calls, or number of paginated contents of paginated queries from the server side.
7 replies
CCConvex Community
Created by daun on 1/24/2024 in #support-community
Is dev environment okay right now?
No description
5 replies
CCConvex Community
Created by daun on 1/12/2024 in #support-community
Order by weighted sum (or weighted average) of two indexes
Hi 🙂 I was implementing a feed item sorting algorithm and wondering if it is possible to order rows by weighted sum or somehow dynamically scored standard of two indexes. For example, weighting recency (_createdAt) and popularity (numLikes, etc) together is very common for sorting a trending item. One idea I've thought myself is to pre-calculate weights for ordering table with cron job or every popularity event invocation but it felt sub-optimal.
4 replies
CCConvex Community
Created by daun on 1/4/2024 in #support-community
Better approach on getting streaming response
Hello Convex community, I have been following the official Convex tutorial methods to update the streaming output of LLMs, which involves a number of internal mutations whenever an action retrieves new streaming results. While this method is easy to implement and appears as streaming from the user's perspective, I believe it consumes a significant amount of database bandwidth and is somewhat slower than having a direct streaming response. Are there any plans or guides for returning streaming responses in Convex actions?
4 replies
CCConvex Community
Created by daun on 1/3/2024 in #support-community
Error instance is not propagated between action and internal mutation.
No description
14 replies
CCConvex Community
Created by daun on 11/20/2023 in #support-community
Authenticating Next.js app with Auth0 (in client side)
No description
2 replies