Alex Moore

397 posts

Alex Moore banner
Alex Moore

Alex Moore

@ikindacode

Building AI-first web apps with Next.js × Vercel AI SDK × shadcn/ui. Clean code, clever AI patterns, and the occasional fix. @shadcn stan.

Bentonville, AR Katılım Mayıs 2024
120 Takip Edilen142 Takipçiler
Sabitlenmiş Tweet
Alex Moore
Alex Moore@ikindacode·
Conversational analytics. It's working! 🎉 @aisdk 🤝 json-render 🤝 @tinybird Forrest can answer business questions, with built-in domain knowledge, by scanning millions of rows and hundreds of columns and responding like a super-analyst in a matter of seconds. Full chat persistence with every message stored securely in the database.
English
16
10
181
18.9K
Alex Moore
Alex Moore@ikindacode·
Deploying a full-featured API with Nitro on @vercel in 21 seconds is 🤌🏼
English
1
0
1
49
Alex Moore
Alex Moore@ikindacode·
@shadcn What’s the best way to update the style of an existing project to use thesetranslucent styles?
English
0
0
3
1.1K
shadcn
shadcn@shadcn·
You can now build translucent dropdown menus, selects, and comboboxes on shadcn/create. Mix in your custom styles, icons, fonts, and radii and build something different. Your own preset. All it takes is a few clicks.
English
86
110
2.9K
149.7K
Alex Moore
Alex Moore@ikindacode·
Looks like everyone loves conversational analytics! 😅 But we're not stopping there — generative dashboards blend the UI users have come to depend on with the flexibility they need on a daily basis. Check it out! What do you think?
English
0
0
1
48
Alex Moore
Alex Moore@ikindacode·
Conversational analytics. It's working! 🎉 @aisdk 🤝 json-render 🤝 @tinybird Forrest can answer business questions, with built-in domain knowledge, by scanning millions of rows and hundreds of columns and responding like a super-analyst in a matter of seconds. Full chat persistence with every message stored securely in the database.
English
16
10
181
18.9K
Alex Moore
Alex Moore@ikindacode·
@brenden_delarua Forrest has both 🙃 oh, and custom dashboards generated with a prompt. So the best of both — all three? — worlds.
English
0
0
0
23
Brenden Delarua
Brenden Delarua@brenden_delarua·
I’m finding at Stella that marketers seem to not prefer AI chats for analytics. They gravitate to easy to understand charts and dashboards. I’m not hearing anyone liking TW’s Moby yet. Also the first time the AI recommends to invest more in branded search, it’s over.
Alex Moore@ikindacode

Conversational analytics. It's working! 🎉 @aisdk 🤝 json-render 🤝 @tinybird Forrest can answer business questions, with built-in domain knowledge, by scanning millions of rows and hundreds of columns and responding like a super-analyst in a matter of seconds. Full chat persistence with every message stored securely in the database.

English
1
0
1
243
Alex Moore
Alex Moore@ikindacode·
@grantmucha @aisdk @tinybird You have to 1) pass the agent some understanding of the industry, and 2) set stopWhen() in the AI SDK high enough to allow the sql queries to fail and retry automagically.
English
1
0
3
196
Grant Mucha
Grant Mucha@grantmucha·
@ikindacode @aisdk @tinybird Trying to do something similar with FPD in the hundreds of millions of rows. Did you just pass knowledge on how to query, build an MCP, something else?
English
1
0
0
315
Alex Moore
Alex Moore@ikindacode·
@bpais88 @aisdk @tinybird Oh man, great question. This is actually the hardest part of the project. The trick is actually having domain knowledge of the industry you’re building for and installing that into the project.
English
1
0
1
83
Bruno Pais
Bruno Pais@bpais88·
@ikindacode @aisdk @tinybird Really cool! How do you give the right context to ensure the answers are accurate? Been seeing a lot of “txt to sql” examples with many people struggling that AI looks for the data in the right tables.
English
1
0
0
268
Suraj Adsul
Suraj Adsul@SurajAdsul·
@ikindacode @aisdk @tinybird I really like this. How it can process millions of rows that fast? Code Sandbox? Does the dashboard persisted and only data gets refreshed after you revisit? Open AI or Anthropic?
English
1
0
0
514
Alex Moore
Alex Moore@ikindacode·
Update: It is solved! 🎉 I used the onFinish callback in the useChat() hook instead, which, I believe, receives the fully rendered json-render spec. @nicoalbanese10, following your instructions worked perfectly for saving to the database, but when I reloaded the page, the UI had no idea how to handle the spec. I'm sure I could have done this better, but this solution appears to be working well!
English
0
0
4
241
Alex Moore
Alex Moore@ikindacode·
AI SDK + json-render = 🔥🔥🔥 Although I am having a hard time persisting chats to the database with this setup (and so is Claude Code). Something about the way streaming + piping to JSON-render interact has me stuck: I can either have streaming and no persistence, or I can have persistence without streaming. Has anyone done this successfully and have an example? cc: @nicoalbanese10
English
9
3
215
22.1K
Alex Moore
Alex Moore@ikindacode·
I’m sorry that’s been your experience, despite this little hiccup that’s definitely not been mine. And this issue in particular has so much more to do with json-render than the AI SDK. The pros far outweigh the cons in my opinion: Now that everything is set up I’ve swapped models and providers 4x in as many seconds searching for that right balance of tone and performance.
English
0
0
1
83
Josh Matz
Josh Matz@joshmatz·
@ikindacode This has been one of the biggest painpoints of working with AI SDK that I've had: amazing to demo, a slog to set up for prod.
English
1
0
3
343
Nico Albanese
Nico Albanese@nicoalbanese10·
@ikindacode #on-finish" target="_blank" rel="nofollow noopener">ai-sdk.dev/docs/reference… there is an onFinish in that createUIMessageStream which will give you the final UIMessage[] that you can persist
English
1
0
5
332
Alex Moore
Alex Moore@ikindacode·
@nicoalbanese10 This is the final few lines of the API route (I cleared all changes to the files as it wasn't really coming together). Struggling to understand the mental model and where to persist.
Alex Moore tweet media
English
1
0
0
826