Skip to content

This is a sample project that uses OpenAI to correct and improve text.

License

Notifications You must be signed in to change notification settings

fukumone/gpt-proofreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt-proofreading

This is a sample project that uses OpenAI to correct and improve text.

Demo

video

How to use

client

  1. cd client

  2. Run the command yarn install to install necessary libraries.

  3. Run the command NEXT_PUBLIC_API_SERVER=http://localhost:4000 yarn dev to start the development server.

server

  1. The JavaScript runtime on the server side is using Deno, please install Deno according to your development environment from here.

  2. Obtain your OpenAI API key from here.

  3. cd server

  4. Set the environment variable OPENAI_API_KEY with the API key obtained from OpenAI. Example: export OPENAI_API_KEY=xxxxx

  5. Run the command deno run --allow-net --allow-env server.ts to start the server.

Licence

The scripts and documentation within this project are distributed under the MIT License.