Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Ok I'm convinced, Generative UI is the future I built this today using Vercel's AI SDK & PostHog, it allows you to talk with your analytics data All you do is describe in natural language what you'd like to see and then talk with the results

233,794 Aufrufe • vor 2 Jahren •via X (Twitter)

11 Kommentare

Profilbild von Rhys
Rhysvor 2 Jahren

Since it's a chat, all you need to do to make an edit is ask for it - here's me asking to modify a chart without having to specify the time range again or what other properties to add, it just understands from the history

Profilbild von Rhys
Rhysvor 2 Jahren

Imagine the power this unlocks - You could create custom client dashboards to give this ability to your users It also lets everyone on your team take a deeper role into analytics, they don't have to understand SQL they just have to ask a question

Profilbild von Rhys
Rhysvor 2 Jahren

If there's interest I can put this on a website for people to use with their own PostHog data For now though, it's open source and super easy to run locally - the repo is available at

Profilbild von Rhys
Rhysvor 2 Jahren

This is also the first Generative UI project that I've seen which uses real data which is an accomplishment I'm really proud of For the Vercel stock price one, it was a super helpful learning resource but it was ChatGPT making up values - this one really works

Profilbild von Rhys
Rhysvor 2 Jahren

Here's the source code if you want to play around with it yourself!

Profilbild von Tanmay
Tanmayvor 2 Jahren

@vercel Isnt this just props filling pre built ui?

Profilbild von Rhys
Rhysvor 2 Jahren

@vercel In this case it’s conversion your natural language into SQL (HogQL for PostHog) queries, running them, and then determining how to render the results Along with that it’s loading all the data from the results into your conversation so you can talk about it

Profilbild von Philipp Tsipman
Philipp Tsipmanvor 2 Jahren

@vercel This is awesome! Thank you for open-sourcing it! 🙏 And... just submitted the first issue. :)

Profilbild von Rhys
Rhysvor 2 Jahren

@vercel 🫡 thanks for opening up an issue, put out a commit that I think will fix it

Profilbild von Spencer
Spencervor 2 Jahren

@vercel How is this generative UI? It looks like generative charts, which I think would be a killer app. Add a csv or data set and ask it in natural language to create a beautiful chart that represents the data.

Profilbild von Rhys
Rhysvor 2 Jahren

@vercel I was mainly just going off of for the wording I think it’s v0 of Generative UI where it starts out with us passing premade components combined with chat and eventually turns into dynamic

Ähnliche Videos