Skip to content

Commit

Permalink
feat: labBot demo
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Sep 4, 2023
1 parent 8dba2c3 commit 3449024
Show file tree
Hide file tree
Showing 13 changed files with 1,254 additions and 2 deletions.
Binary file added docSite/assets/imgs/demo-appointment1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docSite/assets/imgs/demo-appointment2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docSite/assets/imgs/demo-appointment3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docSite/assets/imgs/demo-appointment4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docSite/assets/imgs/demo-appointment5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docSite/assets/imgs/demo-appointment6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docSite/assets/imgs/demo-appointment7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion docSite/content/docs/custom-models/m3e.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ FastGPT 默认使用了 openai 的 embedding 向量模型,如果你想私有
镜像名: `stawky/m3e-large-api:latest`
国内镜像: `registry.cn-guangzhou.aliyuncs.com/kbgpt/m3e-large-api:latest`
端口号: 6008
环境变量:

```
# 设置安全凭证
sk-key=xxxx
```

## 接入 OneAPI

Expand All @@ -29,7 +35,7 @@ curl 例子:

```bash
curl --location --request POST 'https://domain/v1/embeddings' \
--header 'Authorization: Bearer sk-key' \
--header 'Authorization: Bearer xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "m3e",
Expand Down
1 change: 1 addition & 0 deletions docSite/content/docs/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ services:
- DB_MAX_LINK=5 # database max link
- TOKEN_KEY=any
- ROOT_KEY=root_key
- FILE_TOKEN_KEY=filetoken
# mongo 配置,不需要改. 如果连不上,可能需要去掉 ?authSource=admin
- MONGODB_URI=mongodb://username:password@mongo:27017/fastgpt?authSource=admin
# pg配置. 不需要改
Expand Down
6 changes: 6 additions & 0 deletions docSite/content/docs/installation/upgrading/43.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ weight: 996

1. https://xxxxx/api/admin/initv43

```bash
curl --location --request POST 'https://{{host}}/api/admin/initv43' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'
```

会给 PG 数据库的 modeldata 表插入一个新列 file_id,用于存储文件 ID。

## 增加环境变量
Expand Down
2 changes: 1 addition & 1 deletion docSite/content/docs/workflow/examples/google_search.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: '将 FastGPT 外接搜索引擎'
icon: 'search'
draft: false
toc: true
weight: 441
weight: 500
---

![](/imgs/google_search_1.png)
Expand Down
Loading

0 comments on commit 3449024

Please sign in to comment.