Next.js Discord

Discord Forum

What Vercel v0 actually does?

Answered
Pigeon tremex posted this in #help-forum
Open in Discord
Pigeon tremexOP
I see vercel v0 being a prompt to ui tool. But the same can be achieved with cursor composer.

I wonder what v0 actually does uniquely / usefully to generate better ui than other general llm tools.

If it does anything like that, how did v0 developers achieve it?

Did they do any special prompt to ui training?

24 Replies

@@ts-ignore V0 > Vercel's tool Nextjs > By Vercel Shadcn > works at vercel V0 has up-to-date resources for shadcn and nextjs hence it provides you with uptodate code results
Pigeon tremexOP
uhmm, so are they using a proprietary llm with the knowledge of how to use shadcn & nextjs?

or is there a way to make llms like gpt4 to learn shadcn & nextjs? If so, what's the way?
Answer
@@ts-ignore https://llmstxt.org/
Pigeon tremexOP
does all nextjs & shadcn documents have llms.txt file?
but
you can obv train your LLM on mdx files
this llms.txt is nothing but textual representation of those mdx
Pigeon tremexOP
I'm aware that we can have a system prompt to llm. but how do you train an llm on our markdown files?
@@ts-ignore https://sdk.vercel.ai/llms.txt
Pigeon tremexOP
so this goes into the initial context?
Won't the context window affect its memory then?
Pigeon tremexOP
uhmm, I now wonder what's the context window size of v0 is
that is only known by vercel
but if you want to create something similar
you can use any open model and feed it custom data
then use something like webcontainers to run node apps inside your browser(it can't run everything but gets the job done)
Pigeon tremexOP
Makes sense, thanks
Sloth bear
0110 0001 0110 0110 0101 0110 0011 0010