Streaming LLM responses with Laravel Reverb
Polling made our chat feel like a fax machine. Here is the WebSocket setup that puts the first token on screen in 300 ms, and the two mistakes that cost me a weekend.
Read morePolling made our chat feel like a fax machine. Here is the WebSocket setup that puts the first token on screen in 300 ms, and the two mistakes that cost me a weekend.
Read moreYou do not need a vector database yet. One migration, one scope, and a cosine operator.
Read moreA small second model that reorders what retrieval found.
Read moreHow to cut long documents into pieces that still make sense on their own.
Read moreA small eval set and three numbers that say whether retrieval got better.
Read more