Code Monkey home page Code Monkey logo

vocechat-chatbot-vercel's Introduction

Vocechat Chatbot

部署

Vercel

部署你的版本:

Deploy with Vercel

本地开发

需要Node.js环境

1. 克隆代码库

git clone https://github.com/Privoce/vocechat-chatbot-ui.git

2. 安装依赖

npm i

3. 提供 OpenAI API Key

创建.env.local,填入OpenAI API Key:

OPENAI_API_KEY=YOUR_KEY

如果你所在的地区,无法访问OpenAI服务,可以通过OPENAI_API_HOST指定代理

如有必要,也可以设置OPENAI_ORGANIZATION来制定组织

4. 跑起来

npm run dev

配置项

环境变量 默认值 描述
VOCECHAT_ORIGIN Vocechat API地址,一般和你的vocechat访问地址一致,比如https://vocechat.example.com
VOCECHAT_BOT_ID Vocechat 机器人ID,在你新建的机器人名称下面可以找到,#开头
VOCECHAT_BOT_SECRET Vocechat机器人API Key,用于Vocechat接口授权
OPENAI_API_KEY The default API key used for authentication with OpenAI
OPENAI_API_HOST https://api.openai.com The base url, for Azure use https://<endpoint>.openai.azure.com
OPENAI_ORGANIZATION Your OpenAI organization ID
DEFAULT_MODEL gpt-3.5-turbo The default model to use on new conversations, for Azure use gpt-35-turbo
NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT see here The default system prompt to use on new conversations
NEXT_PUBLIC_DEFAULT_TEMPERATURE 1 The default temperature to use on new conversations

如果你没有OpenAI API Key,可以 在此申请

vocechat-chatbot-vercel's People

Contributors

mckaywrigley avatar zerosoul avatar thomasleveil avatar nauxliu avatar bcullman avatar syedmuzamilm avatar chanzhaoyu avatar dotneet avatar dasunnimantha avatar liby avatar alanpog avatar riande avatar matriq avatar spctechdev avatar ryanhex53 avatar oznav2 avatar itbm avatar hyena459 avatar borborborja avatar adiestel avatar anthonypuppo avatar aweshchoudhary avatar ch4r4f avatar ernestobarrera avatar jdban avatar huuphongsan avatar srsholmes avatar shemarlindie avatar sonnylazuardi avatar regisrex 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.