6 Replies
Nevermind, I did it 😉
Could you explain how you got streaming working in React Native?
What polyfills are you using?
GitHub
GitHub - acostalima/react-native-polyfill-globals: Polyfills and pa...
Polyfills and patches missing or partially supported web and core APIs. - acostalima/react-native-polyfill-globals
Damn only that one package?
Yeah, it should work
I'm experimenting with it currently
OPs didnt work and I am confused how it did as TextDecoderStream is not in 'react-native-globals-polyfill' I posted my solution here: https://stackoverflow.com/a/79428194/17990405
Stack Overflow
tRPC stream API response from OpenAI to React client
I am currently working on a way to implement the openai-node package into my Next.js application. Because of the long generation times of OpenAI completions, I want to make use of streaming (which is