bidah / react-native-vercel-ai

🤖 ⚛️ Run Vercel AI package on React Native and Expo universal native apps (Mobile and web)
MIT License
241 stars 13 forks source link

Streaming #13

Open saintpepsicola opened 6 months ago

saintpepsicola commented 6 months ago

Has anyone tried using this with a polyfill for streaming?

https://github.com/vercel/ai/discussions/655#discussioncomment-9332890

ekimcem commented 2 months ago

I've tried multiple approaches, including the solutions and methods mentioned in the issue, but none of them worked (using Expo 51). React Native should implement native stream response in fetch as soon as possible, or else Flutter will dominate AI applications.

ekimcem commented 1 week ago

UPDATE: Expo SDK 52 has announced the expo/fetch - stream.

An update should be done to this so we can handle stream via hooks directly.

But I'm not sure about the MD renderings.

johannbuscail commented 1 week ago

Any news with Expo v52 ? @bidah @rfigueroa-truelogic

burakakca commented 14 hours ago

https://www.youtube.com/watch?v=BK2xbPW2uUU&t=534s

Does anyone know the details of the 'expo router with ai' application shown in this video?

burakakca commented 13 hours ago

https://github.com/backmesh/openai-react-native https://github.com/candlefinance/react-native-openai