EggsDee
EggsDee
CCConvex Community
Created by EggsDee on 5/1/2025 in #show-and-tell
Unbreakable AI Chat: Streaming Responses with Convex + Vercel AI SDK
https://www.arhamhumayun.com/blog/streamed-ai-response Hey everyone. I wrote a post on how I built a persistent, reliable chat system with Convex and the AI SDK. I actually only recently found out about the persistent-text-streaming component so I may update my logic in the future. I have real code examples with AI SDK to show how it all works. Check it out if you're curious!
1 replies
CCConvex Community
Created by EggsDee on 4/2/2025 in #support-community
Validator record types with literals as keys.
Is it possible to create convex validator types such as
type player = Record<"str" | "dex" | "int", number>
type player = Record<"str" | "dex" | "int", number>
There is a record type in convex but I'm running into schema validation issues when using literals as keys instead of strings.
2 replies