Skip to content

Gautham495/React-Native-AI-Chat-Bot

Repository files navigation

React Native AI Chat Bot App With Server Side Streaming (SSE) with a Express JS Backend.

  • In this post, I have discussed how you can implement Server Side Streaming in React Native with OpenAI's APIs or your own LLMs.

  • I have made the backend with Express JS and have explained each and every line required to make both the frontend and backend work.

  • I have used the react-native-sse library to consume the server side event powered apis in your app.

  • I have discussed how you can use ChatGPTs completion API as well as dived into the concepts on how you can use assistant apis to make a even better chat bot with knowledge base.

  • Do let me know how it is and let me know if you want to make a chatbot in React Native with streaming capabilities for your own projects.

Screenshots

Explanation Video

https://x.com/gautham_vijay_/status/1840073454210691477

Tech Stack used to make this post

Frontend Client: React Native

Backend Server: Node, Express JS with Server Side Events

Installation

You will need to have your own React Native Project and your own backend server.

For the React native project, install the sse library from your terminal and you are good to go

 npm i react-native-sse

References to Libraries used

Follow me for more react native content via below links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published