I have troubles without sense using the new library and the new methods when im building an app on React Native
React Native is not supported as a runtime for the official OpenAI node SDK. For anyone else who ends up here like I did, I created an npm package called openai-react-native
that handles file uploads with the Expo file system and chat completion streaming using React Native SSE, all while using the official SDK types and API wherever possible.
1 Like