/chatgpt-prompts

这是一个chatgpt的终端交互程序。 This is a chatgpt terminal interaction program

Primary LanguageJavaScriptMIT LicenseMIT

ChatGPT Prompts

This is a chatgpt terminal interaction program developed using chatgpt-api for the purpose of initial experience learning.

Precondition

nodejs version >= 18

Clone Project

git clone https://github.com/loclink/chatgpt-prompts.git

Installation dependency

cd chatgpt-prompts
pnpm install

Create environment variable file

Create the .env file in the root of your project, And fill in the correct OPENAI_API_KEY.

Example:

OPENAI_API_KEY=sk-qwertyu123iopasd456fghjkl

Start

pnpm start

After that, you can expand and develop more content on the basis of this.