An open API service indexing awesome lists of open source software.

https://github.com/vnadh/rnai

This project implements an AI-powered chatbot using React for the frontend, Node.js for the backend, and Google's PaLM 2 API for natural language processing.
https://github.com/vnadh/rnai

chatbot nodejs reactjs

Last synced: 3 months ago
JSON representation

This project implements an AI-powered chatbot using React for the frontend, Node.js for the backend, and Google's PaLM 2 API for natural language processing.

Awesome Lists containing this project

README

          

# RN.ai - AI Chatbot with React, Node.js, and PaLM 2 API
This project implements an AI-powered chatbot using React for the frontend, Node.js for the backend, and Google's PaLM 2 API for natural language processing.
## Getting Started
### Prerequisites:
* Node.js and npm (or yarn) installed on your system (https://nodejs.org/)
* A Google AI Platform account with access to the PaLM 2 API (limited availability, waitlist might apply)
### Clone the Repository:
``` git clone https://github.com/Vnadh/rnai.git ```
### Install Dependencies:
* Install dependencies for the client:-
```
cd client
npm install
```
* Install dependencies for the server:-
```
cd server
npm install
```
* Obtain your Palm 2 API key from Palm 2 website and add it to your project configuration.
* create a env file in server as follows:-
```
API_KEY=your-api-key
```
### Start the application:
* For the client:
```
cd client
npm run dev
```
* For the server:
```
cd server
node index.js
```
### Screenshots:-
![Screenshot 2024-03-10 225422](https://github.com/Vnadh/rnai/assets/106485321/1edb7818-1e7e-448a-ac50-d6ad84650e7d)
![Screenshot 2024-03-10 225309](https://github.com/Vnadh/rnai/assets/106485321/6d098aed-3c68-49b6-a1d3-ac34dbafb898)

### feel free to make your own changes