https://ai-sdk.dev/docs/reference/ai-sdk-core/embed-many
https://ai-sdk.dev/docs/reference/ai-sdk-core/embed
https://docs.turso.tech/sdk/ts/orm/drizzle#vector-embeddings
We'll need to create a workflow that is triggered whenever Things are created or updated to create embeddings. (let's use OpenAI embed-3-large with 256 dimensions
We'll also probably need to create a embeddedAt field to track the updated at timestamp … and maybe a hash to see if the data has changed … we also only want to create a new job for the workflow if there isn't one running already… we'll need to figure out the right/best batch size … as well as how to perform search