Skip to content

xiaohongniua/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

langchainai-react-node-gpt3.5

A simple starter code pack that uses React.js for the client and Node.js for the server with LangChainAI for API requests to OpenAI's ChatGPT

Steps to get started

  1. Click Use this repository and make a new one on your account after which, clone it locally OR download the zip file
  2. Head over to ./server and fill in your OpenAI API key in .env
  3. Create a .gitignore file and enter .env in the file to prevent your env variables from being pushed to your GitHub repo
  4. In ./server/server.js, edit the prompt template to what you wish
  5. cd client and run npm i after which run npm start
  6. Open another terminal and run the following commands, cd server and then npm i after which run npm run dev

If you find any bugs or errors, feel free to raise an issue or even a pull request. I will fix it ASAP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published