npm i openai-react-native
Luis Fernando De Pombo

Luis Fernando De Pombo @depombo

About: working on the firebase for ai apps. prev ycombinator w18, early uber dev, ucberkeley eecs.

Joined:
Oct 29, 2020

npm i openai-react-native

Publish Date: Aug 26 '24
1 0

We just published this package. It is a React Native OpenAI API client without polyfills since the official OpenAI Node SDK does not support React Native. See this issue.

Today the library supports chat streaming, normal chat completions and expo file upload with more endpoints coming soon. The goal of the library is to follow the OpenAI Node SDK wherever possible without using any polyfills by taking advantage of React Native SSE and Expo FileSystem implementations to support calling the OpenAI API through a proxy from React Native with streaming and file upload support. Lmk what you think or what you would like to see!

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

Comments 0 total

    Add comment