This is a web application that is similar to ChatGPT, using the OpenAI API.
These instructions will help you set up the ChatGPT web application on your local machine for development and testing purposes.
Before you can use this web application, you will need to have the following:
- An OpenAI API key
- A web server like nginx
server
- Sign up aircode.io
- Copy paste server/hello.js to hello.js
- Deploy then you will get your service address like https://xxx.hk.aircode.run/hello
web
- Set api address when you get from first step
- Build vue app by npm run build
- Upload your files to web server
- Config nginx
- Set you domain dns to server
Usage Open your web browser and navigate to the URL of the repository on your web server. where you can enter text and receive a response from the OpenAI model.
Built With
- OpenAI API
- JavaScript
- AirCode
Authors Alberto CHen License This project is licensed under the [MIT]. See the LICENSE file for details.