Skip to content

Commit c5db894

Browse files
authored
update doc (#4460)
* update preview action * update doc * remove * update * schema
1 parent 4fc96f6 commit c5db894

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.github/workflows/docs-preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ jobs:
6565
- name: Build
6666
run: cd docSite && hugo mod get -u github.com/colinwilson/lotusdocs@6d0568e && hugo -v --minify
6767

68+
- name: Test
69+
run: ls ./docSite/public
70+
6871
# Step 5 - Push our generated site to Cloudflare
6972
- name: Deploy to Cloudflare Pages
7073
id: deploy

docSite/content/zh-cn/docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toc: true
77
weight: -10
88
---
99

10-
FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开箱即用的数据处理、模型调用等能力同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的问答场景!
10+
FastGPT 是一个AI Agent 构建平台,提供开箱即用的数据处理、模型调用等能力同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的应用场景!t
1111

1212
{{% alert icon="🤖 " context="success" %}}
1313
FastGPT 在线使用:[https://tryfastgpt.ai](https://tryfastgpt.ai)

packages/service/common/buffer/rawText/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { connectionMongo, getMongoModel } from '../../mongo';
2-
const { Schema } = connectionMongo;
1+
import { getMongoModel, Schema } from '../../mongo';
32
import { RawTextBufferSchemaType } from './type';
43

54
export const collectionName = 'buffer_rawtexts';

packages/service/common/buffer/tts/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { connectionMongo, getMongoModel, type Model } from '../../../common/mongo';
2-
const { Schema, model, models } = connectionMongo;
1+
import { Schema, getMongoModel } from '../../../common/mongo';
32
import { TTSBufferSchemaType } from './type.d';
43

54
export const collectionName = 'buffer_tts';

packages/service/common/file/gridfs/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { connectionMongo, getMongoModel, type Model } from '../../mongo';
2-
const { Schema } = connectionMongo;
1+
import { Schema, getMongoModel } from '../../mongo';
32

43
const DatasetFileSchema = new Schema({});
54
const ChatFileSchema = new Schema({});

packages/service/common/file/image/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { TeamCollectionName } from '@fastgpt/global/support/user/team/constant';
2-
import { connectionMongo, getMongoModel } from '../../mongo';
2+
import { Schema, getMongoModel } from '../../mongo';
33
import { MongoImageSchemaType } from '@fastgpt/global/common/file/image/type.d';
4-
const { Schema } = connectionMongo;
54

65
const ImageSchema = new Schema({
76
teamId: {

0 commit comments

Comments
 (0)