chatgpt mirror
1.0.0
️ تم أرشفة هذا المستودع. يرجى استخدام chatbotui بدلا من ذلك.
استنادا إلى نموذج gpt-3.5-turbo .
تم اختباره على Node.js 18.x.
$ pnpm install قم بإنشاء ملف .env في دليل الجذر وأضف مفتاح API Openai:
OPENAI_API_KEY =sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# optional, support http or socks proxy
HTTP_PROXY =http://proxy-server:port # development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prodتفضل بزيارة http: // localhost: 3000
$ docker build -t chatgpt-mirror .$ docker run -d -p 3000:3000 --env-file .env chatgpt-mirror$ docker run -d -p 3000:3000 --env-file .env -v $( pwd ) /config/app.config.json:/app/config/app.config.json chatgpt-mirror يمكنك تكوين التطبيق عن طريق نسخ config/example.json إلى config/app.config.json وتحرير قيمه. ملاحظة: التعليقات غير مسموح بها في ملفات JSON.
يمكن تخصيص رسائل الخطأ لـ OpenAI API عن طريق تحرير ملف config/app.config.json . See the examples in the config/example.json file.
شكرًا: Bullshit/chatgpt-api
معهد ماساتشوستس للتكنولوجيا مرخصة.