zhangwl cf365c2188 feat:-自建知识库 4 weeks ago
..
public 1d468bfe17 first commit 7 months ago
src cf365c2188 feat:-自建知识库 4 weeks ago
.env 67c01dcf35 feat:修改域名 5 months ago
README.md c1ae0b39ea feat:添加线上发布操作 4 months ago
favicon.ico 1d468bfe17 first commit 7 months ago
index.html 1d468bfe17 first commit 7 months ago
package-lock.json 30d953d18a feat:客服语音功能开启保护机制 4 months ago
package.json 30d953d18a feat:客服语音功能开启保护机制 4 months ago
postcss.config.js 30d953d18a feat:客服语音功能开启保护机制 4 months ago
tsconfig.app.json 1d468bfe17 first commit 7 months ago
tsconfig.json 1d468bfe17 first commit 7 months ago
tsconfig.node.json 1d468bfe17 first commit 7 months ago
vite.config.ts 30d953d18a feat:客服语音功能开启保护机制 4 months ago

README.md

Chat AI 用户界面

这是 Chat AI 应用的前端部分。它是一个基于 Vue.js 3 的应用程序,通过自定义 API 与 Stream Chat、您的 Neon PostgreSQL 数据库和 Open AI 进行交互。

线上发布操作

  1. 打包前端代码 a.运行 npm install b.打包运行 npm run build
  2. 发布,线上服务器 172.17.240.75 和 172.17.240.80
  3. 地址: /data01/aichat/dist
  4. 直接替换

安装说明

  1. 克隆仓库
  2. 运行 npm install
  3. 在根目录创建 .env 文件并添加以下环境变量:
  4. 打包运行 npm run build

    VITE_API_URL=http://localhost:8000
    
  5. Run the server with npm run dev and open on http://localhost:5173/