Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Stop rebuilding the same AI chat infrastructure. Introducing ChatJS

83,652 Aufrufe • vor 8 Monaten •via X (Twitter)

67 Kommentare

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Start here and make it your own.

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Pontus Abrahamsson
Pontus Abrahamssonvor 8 Monaten

really cool!

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

🫡

Profilbild von sergio
sergiovor 8 Monaten

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

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von faizan khan
faizan khanvor 8 Monaten

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

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Awesome. Lmk if you have any feedback

Profilbild von Michael Livs
Michael Livsvor 8 Monaten

Ah, does it play nice with ai-sdk?

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Michael Livs
Michael Livsvor 8 Monaten

Amazing, gonna give it try :)

Profilbild von Arnav
Arnavvor 8 Monaten

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

Profilbild von André Castro
André Castrovor 8 Monaten

Does it handle history context and compact conversation ?

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Lucho
Luchovor 8 Monaten

Is this an assistant-ui direct competitor?

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Mindzyn
Mindzynvor 8 Monaten

Just looking for this, Congratulations

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Thanks!

Profilbild von Rob N
Rob Nvor 8 Monaten

Looks great congrats on the launch!

Profilbild von Kunal
Kunalvor 8 Monaten

nicee

Profilbild von kehaya
kehayavor 8 Monaten

This looks super useful

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Thanks!

Profilbild von jeffscottworld
jeffscottworldvor 8 Monaten

Is it ag-ui compliant?

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

No, it uses AI SDK protocol

Profilbild von Gordon Olson
Gordon Olsonvor 8 Monaten

Nice work!

Profilbild von Leon
Leonvor 8 Monaten

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?

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Tristan Rhodes
Tristan Rhodesvor 8 Monaten

Great work!

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Thanks Tristan

Profilbild von Bala Subbiah 巴拉
Bala Subbiah 巴拉vor 8 Monaten

Congrats on the launch

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

🙏

Profilbild von Ashu
Ashuvor 8 Monaten

this is very helpful

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Ty Ashu

Profilbild von cu
cuvor 8 Monaten

Did you use Remotion for this video?

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Remotion with skills + claude code

Profilbild von cu
cuvor 8 Monaten

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

Profilbild von Gui Monteiro
Gui Monteirovor 8 Monaten

@RTodorov

Profilbild von Dave Fano
Dave Fanovor 8 Monaten

Is this Sparka with a new name?

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Dave Fano
Dave Fanovor 8 Monaten

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

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Awesome, feedback welcomed!

Profilbild von Malik Haziq
Malik Haziqvor 8 Monaten

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

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Months

Profilbild von Alireza Najafi
Alireza Najafivor 8 Monaten

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.

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Jeremy@Opulentia
Jeremy@Opulentiavor 8 Monaten

As good as it gets! Congratulations!

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

🫡

Profilbild von Mariano
Marianovor 8 Monaten

the branch chat its an amazing idea.

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Glad you liked it

Profilbild von Mariano
Marianovor 8 Monaten

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

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

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

Profilbild von Mariano
Marianovor 8 Monaten

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 🤖

Profilbild von Mariano
Marianovor 8 Monaten

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"

Profilbild von Mariano
Marianovor 8 Monaten

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

Profilbild von hardy
hardyvor 8 Monaten

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

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

I'm working on this. Will share soon

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Feature dropped

Profilbild von Mudit Juneja
Mudit Junejavor 8 Monaten

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

Profilbild von Saïd Aitmbarek
Saïd Aitmbarekvor 8 Monaten

brilliant work mate!

Profilbild von Marco Fortes
Marco Fortesvor 8 Monaten

Finaly someone did it!

Profilbild von Ali Sha
Ali Shavor 8 Monaten

Nice job bro

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

Thanks Ali!

Profilbild von David Gyori
David Gyorivor 8 Monaten

Don’t tell me what to do

Profilbild von Balumba
Balumbavor 8 Monaten

Boring

Profilbild von truth.phd
truth.phdvor 8 Monaten

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

Profilbild von Reeves
Reevesvor 8 Monaten

Based 🔥

Profilbild von Francisco Moretti
Francisco Morettivor 8 Monaten

🔥

Ähnliche Videos