Giter VIP home page Giter VIP logo

chatgpt-next-web's Introduction

icon

ChatGPT Next Web

One-Click to get well-designed cross-platform ChatGPT web UI.

一键免费部署你的跨平台私人 ChatGPT 应用。

Web

网页版

Deploy with Vercel

cover

声明

项目 Fork 自 ChatGPT-Next-Web,在此基础上增加了 Azure OpenAI 部署支持,其余 feature 与该项目保持同步更新。

以下的文档仅补充 Azure OpenAI 相关用法,其余用法请参考原项目。

特性使用说明

效果图

20230630142819

先决条件

  • 拥有 Azure 订阅 - 免费创建订阅

  • 已在所需的 Azure 订阅中授予对 Azure OpenAI 的访问权限。可以通过在 https://aka.ms/oai/access 中填写表单来申请对 Azure OpenAI 服务的访问权限。

  • 已部署模型的 Azure OpenAI 资源。 有关模型部署的详细信息,请参阅资源部署指南

概念说明

若要成功地对 Azure OpenAI 发出调用,需要准备好以下各项:

变量名称
ENDPOINT 从 Azure 门户检查资源时,可在“密钥和终结点”部分中找到此值。 也可在“Azure OpenAI Studio”>“操场”>“代码视图”中找到该值。 示例终结点为:https://docs-test-001.openai.azure.com/
API-KEY 从 Azure 门户检查资源时,可在“密钥和终结点”部分中找到此值。 可以使用 KEY1 或 KEY2。
DEPLOYMENT-NAME 此值将对应于在部署模型时为部署选择的自定义名称。 此值可在 Azure 门户中的“资源管理”>“部署”下,或者在 Azure OpenAI Studio 中的“管理”>“部署”下找到此值。

环境变量

在 Vercel 部署时,需要参考以下环境变量进行设置:

AZURE_API_KEY (必填项)

API-KEY 密钥,从 Azure 门户检查资源时,可在“密钥和终结点”部分中找到此值。

AZURE_ENDPOINT (必填项)

ENDPOINT。从 Azure 门户检查资源时,可在“密钥和终结点”部分中找到此值。 也可在“Azure OpenAI Studio”>“操场”>“代码视图”中找到该值。

AZURE_DEPLOY_NAME (必填项)

DEPLOYMENT-NAME。 此值将对应于在部署模型时为部署选择的自定义名称。 此值可在 Azure 门户中的“资源管理”>“部署”下,或者在 Azure OpenAI Studio 中的“管理”>“部署”下找到此值。

CODE (可选)

访问密码,可选,可以使用逗号隔开多个密码。

警告:如果不填写此项,则任何人都可以直接使用你部署后的网站,可能会导致你的 token 被急速消耗完毕,建议填写此选项。

Contributor

Contributors

chatgpt-next-web's People

Contributors

yidadaa avatar actions-user avatar realduang avatar leedom92 avatar yancode avatar aprilnea avatar gan-xing avatar yorunning avatar parad1se98 avatar dependabot[bot] avatar tscherrie avatar pbrambi avatar rugermccarthy avatar cyhhao avatar cesaryuan avatar xiaotianxt avatar quark-zju avatar clarenceyk avatar yunwuu avatar stonega avatar iscandurra avatar isource avatar hibobmaster avatar gtoxlili avatar shih-liang avatar ilario92 avatar himicosdev avatar darth-pika-hu avatar danielgwilson avatar wsw2000 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.