Could you share that chatbot as a component? many of us are building AI SaaS, that would help a lot. I embedded a chatbot from Flowise but currently having some issues due to that, need to build a chatbot like that with streaming capabilities
yoelfdz
9 months ago
Mar 1, 2024, 9:51 AM
@Andreas Møller
Bishop
9 months ago
Mar 5, 2024, 4:27 PM
@ I think we can grab the code on the website?
Bishop
9 months ago
Mar 5, 2024, 4:31 PM
And put it into a package.. 🙂
I'm just looking at this now. You might also want to look at groq, it is so damn fast you don't need streaming
yoelfdz
9 months ago
Mar 5, 2024, 4:32 PM
I think we would be missing the most important part, the custom action that makes it possible to stream the response. I have no interest on the design, just want to see how they've built it
The problem with the current one we use is that is its built specifically for kapa.ai and it is difficult to make it easily configurable
yoelfdz
9 months ago
Mar 5, 2024, 4:34 PM
Cool! Will it be a complete chatbot with the logic of which messages to show (question/answer/question...) or only the code for streaminf w/ buidship as a package?
Bishop
9 months ago
Mar 5, 2024, 4:34 PM
Ah I hear you. I'm sure I can muddle through creating it but @Andreas Møller if you have the custom action code handy that would be really great to share with us. It will definitely take me some time to figure out.
That's a preview url, do you have the project to see on the editor? Does that one support streaming?
Andreas Møller
9 months ago
Mar 5, 2024, 4:45 PM
That one does not
yoelfdz
9 months ago
Mar 5, 2024, 4:47 PM
Ok, will have to wait for the package then
Thanks for the update Andreas
Andreas Møller
9 months ago
Mar 5, 2024, 4:50 PM
👍
Bishop
9 months ago
Mar 5, 2024, 6:25 PM
can we grab the project tho in the editor?
yoelfdz
9 months ago
Mar 5, 2024, 7:59 PM
Once they share the package we'll be able to open it in the editor yes
yoelfdz
9 months ago
Mar 14, 2024, 9:19 AM
@Andreas Møller Could you update us on the streaming chatbot package please?
yoelfdz
9 months ago
Mar 14, 2024, 11:21 AM
If only you could share how you have implemented the streaming possibility with a custom action it may be enough. Already built a chatbot but lacking that and need to implement for the MVP
Awesome thanks, will try to do it myself for flowise. Here's their docs on it: https://docs.flowiseai.com/using-flowise/streaming I guess I can simply implement that in a custom action, hopefully toddle manages this properly
Andreas Møller
9 months ago
Mar 14, 2024, 11:44 AM
Flowise uses websocketsm so that will be a slightly different setup. But its is still possilbe with custom actions
👍1
Devin McPaul
8 months ago
Mar 18, 2024, 2:04 PM
To confirm @Andreas Møller, we can do a similar setup in Supabase for live AI streaming, correct?
Bishop
7 months ago
Apr 24, 2024, 4:03 PM
@Andreas Møller you mentioned providing us some kind of package or code to help us do streaming... is that available yet?
Andreas Møller
7 months ago
Apr 24, 2024, 4:24 PM
Hey I did look into it, but I dont think there is a way to build the package that works well for all cases.
Andreas Møller
7 months ago
Apr 24, 2024, 4:47 PM
We are planning some big updates to our API tools this quater which includes support for response streaming 🙂
How are you handling the response chunks? It’s the one part I’m getting stuck on. I’m trying to concatenate the delta to a variable but it’s just not working. Any tips here?
I've done it by having a token event on the streamingAPI custom action, that token is fired every time a character is received and I simply concatenate those characters. If variable X has value "This is a tes" and I receive the last character "t", use the concatenade formula adding first the Variable X value and concatenate the token event value. It works great for me
Chris Laupama
6 months ago
May 19, 2024, 7:06 PM
Yeah I’ve got an action event as well where I’m grabbing the delta and concatenating it to a variable as well. I take the current value of the variable and then concat to it. I’m wondering if I’m doing something wrong… Mind running me through yours?
yoelfdz
6 months ago
May 20, 2024, 7:57 AM
DM me
Chris Laupama
6 months ago
May 20, 2024, 8:55 PM
Maybe something @Andreas Møller is familiar with given the implementation with @