Git Product home page Git Product logo

mchatgpt's Introduction

OPENAI_API_KEY(必需的) 你的 openai api 密钥。

CODE(选修的) 访问密码,以逗号分隔。

BASE_URL(选修的) 默认:https://api.openai.com

例子:http://your-openai-proxy.com

覆盖 openai api 请求基本 url。

OPENAI_ORG_ID(选修的) 指定 OpenAI 组织 ID。

HIDE_USER_API_KEY(选修的) 默认值:空

如果您不希望用户输入自己的 API 密钥,请将此环境变量设置为 1。

发展 简体中文 > 如何进行二次开发

OPENAI_API_KEY= 地方发展

1. install nodejs and yarn first

2. config local env vars in .env.local

3. run

yarn install yarn dev 部署 Docker(推荐) docker pull yidadaa/chatgpt-next-web

docker run -d -p 3000:3000
-e OPENAI_API_KEY="sk-xxxx"
-e CODE="your-password"
yidadaa/chatgpt-next-web 您可以在代理后面启动服务:

docker run -d -p 3000:3000
-e OPENAI_API_KEY="sk-xxxx"
-e CODE="your-password"
-e PROXY_URL="http://localhost:7890"
yidadaa/chatgpt-next-web 设置了model-config.tsx settings.tsx sidebar.tsx 为左边上下按钮

mchatgpt's People

Contributors

aoewe avatar chayiz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.