π¬ https://youtu.be/XgByPLLsiCI
From which you will learn how to:
βοΈ Use pure JS for fetching streaming from the specific provider (Replicate)
βοΈ Use pure JS with custom proxy streaming provider (FastAPI)
β¨ TLDR: We review POST-based approaches for fetching data readers and adopting data parsers.
Using FastAPI as a proxy, we explain how to take control over transferred data.
Resources:
π» JS: https://gist.github.com/nicolay-r/86fc212086c0955d541244253ec0564b
π» JS+FastAPI: https://gist.github.com/nicolay-r/840425749cf6d3e397da3d329e894d59