Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

AI chat sample now streaming the chat replies across multiple browsers and can work with multiple replicas by publishing the chat stream via Redis (saving the full message to the db). Still very chatty (pun intended) and inefficient but fun to build! The video shows how aspire can amplify...

13,320 görüntüleme • 1 yıl önce •via X (Twitter)

9 Yorum

dinko_pavicic profil fotoğrafı
dinko_pavicic1 yıl önce

Wonder if Orleans could be feasible for this? For example, to have a chat room grain that stores last xx messages in the grain state. Since grain, when activated stays in the memory for some time could be similar to Redis? For older messages, query the db through grain.

Nima profil fotoğrafı
Nima1 yıl önce

Probably overkill but try Orleans, no need for redis, simpler architecture.

Mcs profil fotoğrafı
Mcs1 yıl önce

Do you have this sample code in a repo?

Ben Morris profil fotoğrafı
Ben Morris1 yıl önce

Realtime apps are fun. My little side project is similar .NET 9/redis/SignalR live chat app, built loosely over OpenAI assistants API. How are you handling user sending 2nd message while current one is processing?

David Fowler profil fotoğrafı
David Fowler1 yıl önce

Before the latest change I was using a semaphore, but now that I moved to redis that’s not currently blocked. I need to reimplement mutual exclusion ( I also need to implement cancellation of the steam.

Theo Albers '67 profil fotoğrafı
Theo Albers '671 yıl önce

I used your repo on a brand new home pc. I had issues with podman, networking, but the Aspire part, getting started with another one's repo, worked like a charm.

Greg Kedzierski profil fotoğrafı
Greg Kedzierski1 yıl önce

There's no way to get a trace starting from the client app, right?

David Fowler profil fotoğrafı
David Fowler1 yıl önce

You can. I just didn’t do it.

ZeBobo5 profil fotoğrafı
ZeBobo51 yıl önce

Time to fine tune your model on Aspire deployment ?

Benzer Videolar