mikeysee
CCConvex Community
•Created by mikeysee on 11/14/2024 in #show-and-tell
I built a "Virtual Me" using Convex and OpenAI's Assistants
https://stack.convex.dev/building-a-second-brain-how-i-created-mike-ai-chat-bot-with-convex
Hey everyone! 😊 I’ve been working on “MikeBot,” an AI assistant that’s essentially a digital version of myself, pulling insights and ideas from over 600 posts I’ve written across 20+ years. The aim was to make it feel like chatting with me, capturing my personality and voice while being actually useful!
Building it has been an exciting experiment, combining OpenAI’s Assistants API with Convex’s real-time sync to bring it to life. If you have any thoughts or suggestions on how to take it further, I’d love to hear them!
2 replies
CCConvex Community
•Created by mikeysee on 9/2/2024 in #support-community
Is there a cached query version of usePagniatedQuery?
Convex helpers has a cached version of useQuery (https://github.com/get-convex/convex-helpers/blob/main/packages/convex-helpers/README.md#query-caching) but is there a version that works with paginated queries?
5 replies
CCConvex Community
•Created by mikeysee on 8/24/2024 in #support-community
Convex auth seems to sign me out every 24-28 hours, why?
I cant for the life of me work it out. This is my auth setup:
So im not doing anything special there.. the docs say the session length should default to 30 days not 1-2 days.
Im using the Authenticated, AuthLoading, Unauthenticated from "convex/react"
The project is using Vite.
My convex provider looks like:
The versions I am using are:
Im on windows 11 running chrome if that helps
2 replies
CCConvex Community
•Created by mikeysee on 8/11/2024 in #show-and-tell
StashIt - Stay in the flow

7 replies
CCConvex Community
•Created by mikeysee on 8/6/2024 in #support-community
Faster websocket connection? Or skip websocket connection?
I am building a chrome extension that saves the given page to a convex DB.
When I press the browser action button it takes a second to load before it saves the page. The issue is the time it takes to connected the websocket for me here in Western Australia.
If I use the HTTP client its lightning quick.
Is there a way I can either speed up the websocket connection or perhaps access the auth token after the initial sign-in then use that for subsequent http calls?
7 replies
CCConvex Community
•Created by mikeysee on 7/31/2024 in #support-community
GET /.well-known/openid-configuration is 404'ing with Convex Auth

3 replies
CCConvex Community
•Created by mikeysee on 7/1/2024 in #show-and-tell
Whisper Farm - Parallel Transcription

3 replies
CCConvex Community
•Created by mikeysee on 5/28/2024 in #support-community
Runtime validation using Convex Types
I asked the AI this but the answer wast very helpful unfortunately.
Is there a way I can validate a type given a convex value so for example if I have:
I would like to validate that this:
Would throw an error because
name
is not of type string
9 replies
CCConvex Community
•Created by mikeysee on 5/19/2024 in #show-and-tell
Tinkering With AI App Generators - LazyAI, Pythagora.ai
I decided to spend a bit of time to tinker with a couple of text-to-app AI tools. Checkout the post to see how well they could generate a fairly simple Convex related tool:
https://mikecann.co.uk/posts/tinkering-with-ai-app-generators
2 replies
CCConvex Community
•Created by mikeysee on 2/23/2024 in #support-community
Filtering issues on the dashboard

4 replies
CCConvex Community
•Created by mikeysee on 1/17/2024 in #support-community
Error while trying to use Loro CRDTs (Uncaught ReferenceError: FinalizationRegistry is not defined)
Hey guys im trying some experiments with Loro and Convext together (https://www.loro.dev/docs/tutorial/get_started) but am running into an issue.
Here is a basic query I am trying to write:
The error I get is:
I suspect the issue is because loro uses wasm. I have read however that WASM is supported in both runtimes.
Is this not correct?
65 replies
CCConvex Community
•Created by mikeysee on 1/9/2024 in #support-community
Yarn dropdown on docs?
Just a small suggestion not support request (maybe you should have a tag or even new forum category for these).
Would love to see an optional yarn version of the docs such as this page: https://docs.convex.dev/quickstart/react. I have seen other projects either offer two options side by side or offer a side-wide toggle that lets you choose what your favourite package manager is (npm, pnpm, yarn etc)
5 replies
CCConvex Community
•Created by mikeysee on 9/29/2023 in #support-community
Convex and State Machines
Hi, has anyone done anything specifically with state machines on convex?
Im thinking it might be quite powerful tro leverage XState (or something similar) plus the jobs system plus the natural atomicity of Convex to have a system follow a fixed state chart?
15 replies
CCConvex Community
•Created by mikeysee on 9/26/2023 in #support-community
More complex indexes
It would be awesome if at some point Convex could support PostgresJSON-like index's so we could index deeply within objects.
Im thinking something like the following:
4 replies
CCConvex Community
•Created by mikeysee on 9/17/2023 in #support-community
db.get vs db.find
I know its probably a bit late now as its likely the API is now fixed but a convention I really like is "get" means the thing you are looking for MUST be there whereas "find" could return the thing OR undefined.
So in this case it would have been great if we had both
db.get
AND db.find
where the latter is basically what db.get
currently is and the new db.get
throws an error if it cant find the entry.
Alternative you could do the Prisma route with its orThrow
convention to have something like db.getOrThrow
.
Anyways, I just thought I would put it out there 🙂2 replies
CCConvex Community
•Created by mikeysee on 9/16/2023 in #support-community
How would you structure this schema?
I have the following schema:
Note I want to be able to list all the canvases that a user is a member of but I cant.
Im guessing I have to reverse this structure and have a "canvasMembers" table that records the
userId
and canvasId
and then index and query that first then join to get the canvases?
Just checking incase there is a better way.7 replies
CCConvex Community
•Created by mikeysee on 9/15/2023 in #support-community
Out of Date Docs / Stack Links
Hey guys, im just working on a little project for https://hackathon.webdevcody.com/ and noticed that there are quite a lot of broken links and bad information in the docs for convex.
It makes it really hard for new people to come in and understand why things arent working.
I suggest going through all your docs regularly to make sure that all the examples work, are up to date with the latest convex APIs and third party APIs.
If you want specific examples ill list them here as I find them.
First one is, your AI page (https://docs.convex.dev/ai) links to building a fullstack ChatGPT app (https://stack.convex.dev/full-stack-chatgpt-app) and that article gives an outdated way on how to configure the OpenAI sdk.. its also written in JS not TS (BTW this is an inconsistency that is all over Convex).
9 replies