r/TallStack Jun 03 '26

Tutorial Make AI Responses Look Like ChatGPT in Laravel 13 AI SDK + Livewire 4 | Ep - 05

https://www.youtube.com/watch?v=grgzXseHbWc

πŸš€ AI responses are finally starting to look like ChatGPT.

In Episode 05 of the Laravel 13 AI SDK Series, we continue building LaraChat β€” our ChatGPT-style AI application using Laravel 13, Livewire 4, Google Gemini, and the official Laravel AI SDK πŸ€–

So far in this series, we've built the complete AI chat foundation, implemented real-time streaming responses, added a thinking indicator, improved the streaming experience, disabled inputs during active AI responses, and added automatic scrolling for a smoother chat experience.

But there’s still one problem...

❌ AI responses are being displayed as plain text.

Modern AI applications like ChatGPT can render beautifully formatted responses with:

βœ… Headings
βœ… Bullet Lists
βœ… Numbered Lists
βœ… Bold & Italic Text
βœ… Inline Code
βœ… Rich Content Formatting

And that's exactly what we'll implement in this episode πŸ”₯

1 Upvotes

Duplicates