Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 11

Фото профиля Rhys
Rhys2 лет назад

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

Фото профиля Rhys
Rhys2 лет назад

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

Фото профиля Rhys
Rhys2 лет назад

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

Фото профиля Rhys
Rhys2 лет назад

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

Фото профиля Rhys
Rhys2 лет назад

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

Фото профиля Tanmay
Tanmay2 лет назад

@vercel Isnt this just props filling pre built ui?

Фото профиля Rhys
Rhys2 лет назад

@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

Фото профиля Philipp Tsipman
Philipp Tsipman2 лет назад

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

Фото профиля Rhys
Rhys2 лет назад

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

Фото профиля Spencer
Spencer2 лет назад

@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.

Фото профиля Rhys
Rhys2 лет назад

@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

Похожие видео