Can weweb add a reasonable way to stream data via an api call?

Hello,

Can weweb add an reasonable way to stream data via an api call?

Thanks,

Ed

Hi @edpred, what’s your usecase ?

Hello @Alexis I need to make a call to an llm api (not openai but supports streaming) and have it stream back into weweb. Basically, a chatgpt clone with custom models. Do you support streaming and how would I make that happen?

With a javascript action you can perform anything, it depends of the API available in front of your LLM

How would you implement the streaming into a variable? Right now I am not able to get it to return anything via the javascript plugin, but can stream normally with postman.

It depends of the API you have, where is the documentation ?
What do you do with Postman ? Which are the settings ?