Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Stop rebuilding the same AI chat infrastructure. Introducing ChatJS

83,652 görüntüleme • 8 ay önce •via X (Twitter)

67 Yorum

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Start here and make it your own.

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Built with: - Nextjs @nextjs - AI SDK @aisdk - Drizzle @DrizzleORM - Better Auth @better_auth - Tailwind @tailwindcss - ShadcnUI @shadcn - AI Elements @haydenbleasel - tRPC @trpcio - AI Gateway @shaper - Zustand @pmndrs

Pontus Abrahamsson profil fotoğrafı
Pontus Abrahamsson8 ay önce

really cool!

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

🫡

sergio profil fotoğrafı
sergio8 ay önce

Cool! The ai chatbot template code I remember was not that polished, did you take a look on it? or just built on top of it? I mean its ok haha

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Yup, it's a fork of vercel/ai-chatbot

faizan khan profil fotoğrafı
faizan khan8 ay önce

oh dude, lol literally just rewrote our chat in docs for the 2nd time. Will definitely be trying this out.

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Awesome. Lmk if you have any feedback

Michael Livs profil fotoğrafı
Michael Livs8 ay önce

Ah, does it play nice with ai-sdk?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

AI SDK it's one of the core technologies and should be following best practices

Michael Livs profil fotoğrafı
Michael Livs8 ay önce

Amazing, gonna give it try :)

Arnav profil fotoğrafı
Arnav8 ay önce

a trance track in a demo/launch video is wild love it lol

André Castro profil fotoğrafı
André Castro8 ay önce

Does it handle history context and compact conversation ?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

History is truncated at 5 messages. Compaction is only used in the deep research flow. Please submit an issue with requirements for conversation compaction handling

Lucho profil fotoğrafı
Lucho8 ay önce

Is this an assistant-ui direct competitor?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

It's not a bussiness. Just an open source end-to-end chat for devs to re-use

Mindzyn profil fotoğrafı
Mindzyn8 ay önce

Just looking for this, Congratulations

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Thanks!

Rob N profil fotoğrafı
Rob N8 ay önce

Looks great congrats on the launch!

Kunal profil fotoğrafı
Kunal8 ay önce

nicee

kehaya profil fotoğrafı
kehaya8 ay önce

This looks super useful

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Thanks!

jeffscottworld profil fotoğrafı
jeffscottworld8 ay önce

Is it ag-ui compliant?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

No, it uses AI SDK protocol

Gordon Olson profil fotoğrafı
Gordon Olson8 ay önce

Nice work!

Leon profil fotoğrafı
Leon8 ay önce

This looks great, would love to use it. But what does it take to not use AI Gateway but instead hook it up to my Mastra AI orchestration platform?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Good point. Can you submit an issue to make it compatible with other AI gateways? I'm not aware of Mastra having an AI Gateway but please link any relevant doc to the issue

Tristan Rhodes profil fotoğrafı
Tristan Rhodes8 ay önce

Great work!

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Thanks Tristan

Bala Subbiah 巴拉 profil fotoğrafı
Bala Subbiah 巴拉8 ay önce

Congrats on the launch

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

🙏

Ashu profil fotoğrafı
Ashu8 ay önce

this is very helpful

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Ty Ashu

cu profil fotoğrafı
cu8 ay önce

Did you use Remotion for this video?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Remotion with skills + claude code

cu profil fotoğrafı
cu8 ay önce

You did a good job with it, the tool still kinda sucks and is no where near being able to produce a proper quality animated vid. Hope that changes soon

Gui Monteiro profil fotoğrafı
Gui Monteiro8 ay önce

@RTodorov

Dave Fano profil fotoğrafı
Dave Fano8 ay önce

Is this Sparka with a new name?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Yes. Had to find a clearer brand to reflect it's a foundation to build your chat apps instead of just an oss app

Dave Fano profil fotoğrafı
Dave Fano8 ay önce

Amazing! Congrats!! Going to try it tonight!!

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Awesome, feedback welcomed!

Malik Haziq profil fotoğrafı
Malik Haziq8 ay önce

Good idea. We definitely needed something like that. How much time did it take?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Months

Alireza Najafi profil fotoğrafı
Alireza Najafi8 ay önce

Thank you so much for your work. I want to explore the chat branching functionality. I tried implementing it with the Vercel AI SDK, and things got messy.

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Yes, that one is tricky. The doc for it is in progress but it works in the app + code is on the repo

Jeremy@Opulentia profil fotoğrafı
Jeremy@Opulentia8 ay önce

As good as it gets! Congratulations!

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

🫡

Mariano profil fotoğrafı
Mariano8 ay önce

the branch chat its an amazing idea.

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Glad you liked it

Mariano profil fotoğrafı
Mariano8 ay önce

me encantó, desarrolé muchisimos GenUI, hay algun glitch en el retrieval de mermaid como en la mayoria de los modelos los general mal a la primerza, tambien en esta captura podes observar los íconos en la parte superior derecha, ninguno de ellos pueden ser clickeados en WinChrome

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Arregle los iconos creo. Volvé a probar eso. Sobre el mermaid, tenés alguna referencia para mejorar el system prompt?

Mariano profil fotoğrafı
Mariano8 ay önce

Pedi renderice y si la salida da error la arregle manteniendo todos los elementos y sus significados. muy por lo general no te hace falta una segunda pasada, y no dejas una regla que te pueda generar una potencial race condition 🤖

Mariano profil fotoğrafı
Mariano8 ay önce

desde el punto de vista de reglas que pueden iterar hasta resolver como la secuencia de fibo, eso no sabes cuando va a pasar y las condiciones, el modelo te puede tirar una Fruta X; // inesperada, por lo que recomiendo solo reglas de una cantidad maxima de "pasadas"

Mariano profil fotoğrafı
Mariano8 ay önce

Así evitas muchisimas vulnerabilidades del top 10 de la humanidad. Luego si por especificacion erradicaste los race condicion en los procesos que manejas obvio, si mañana sale exploit para nextjs quedamos de vuelta todos culo al norte

hardy profil fotoğrafı
hardy8 ay önce

Hey is there a way where I could configure my vLLM served models?

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

I'm working on this. Will share soon

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Feature dropped

Mudit Juneja profil fotoğrafı
Mudit Juneja8 ay önce

This looks like a good candidate to be added here. I just checked and is available. Host things there if it makes sense.

Saïd Aitmbarek profil fotoğrafı
Saïd Aitmbarek8 ay önce

brilliant work mate!

Marco Fortes profil fotoğrafı
Marco Fortes8 ay önce

Finaly someone did it!

Ali Sha profil fotoğrafı
Ali Sha8 ay önce

Nice job bro

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

Thanks Ali!

David Gyori profil fotoğrafı
David Gyori8 ay önce

Don’t tell me what to do

Balumba profil fotoğrafı
Balumba8 ay önce

Boring

truth.phd profil fotoğrafı
truth.phd8 ay önce

Stop rebuilding the same AI chat like it’s a Lego set with missing pieces; ChatJS just walked in saying, “Relax, I brought prebuilt conversation muscles.”

Reeves profil fotoğrafı
Reeves8 ay önce

Based 🔥

Francisco Moretti profil fotoğrafı
Francisco Moretti8 ay önce

🔥

Benzer Videolar