mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 10:07:24 +00:00

* add new doc (#5175) Co-authored-by: dreamer6680 <146868355@qq.com> * Test docs (#5235) * fix: change the page of doc * chore: add new dependencies, update global styles/layout, optimize docs, add Feishu & GitHub icons, update API examples * fix: docs/index 404 not found * Update environment variable names, optimize styles, add new API routes, fix component styles, adjust documentation, and update GitHub and Feishu icons * update readme * feat: add a linkfastgpt compontent * feat: update new doc * fix:remove unuse page and redirect homepage to docs (#5288) * fix:remove some unuse doc * fix: redirect homepage to doc * git ignore * fix:navbar to index (#5295) * sidbar * fix: navtab unlight (#5298) * doc --------- Co-authored-by: dreamer6680 <1468683855@qq.com> Co-authored-by: dreamer6680 <146868355@qq.com>
32 lines
922 B
Plaintext
32 lines
922 B
Plaintext
---
|
||
title: V4.5.1(需进行初始化)
|
||
description: FastGPT V4.5.1 更新
|
||
---
|
||
|
||
## 执行初始化 API
|
||
|
||
发起 1 个 HTTP 请求(`{{rootkey}}` 替换成环境变量里的`rootkey`,`{{host}}`替换成自己域名)
|
||
|
||
1. https://xxxxx/api/admin/initv451
|
||
|
||
```bash
|
||
curl --location --request POST 'https://{{host}}/api/admin/initv451' \
|
||
--header 'rootkey: {{rootkey}}' \
|
||
--header 'Content-Type: application/json'
|
||
```
|
||
|
||
初始化内容:
|
||
1. rename 数据库字段
|
||
2. 初始化 Mongo APP 表中知识库的相关字段
|
||
3. 初始化 PG 和 Mongo 的内容,为每个文件创建一个集合(存储 Mongo 中),并反馈赋值给 PG。
|
||
|
||
**该初始化接口可能速度很慢,返回超时不用管,注意看日志即可**
|
||
|
||
## 功能介绍
|
||
|
||
### Fast GPT V4.5.1
|
||
|
||
1. 新增知识库文件夹管理
|
||
2. 修复了 openai4.x sdk 无法兼容 oneapi 的智谱和阿里的接口。
|
||
3. 修复部分模块无法触发完成事件
|