Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
677e6141
authored
Apr 03, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 版本文案
parent
56ba6fa5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
+15
-15
public/imgs/wxcode.jpg
+0
-0
public/imgs/wxcode300.jpg
+0
-0
src/components/WxConcat/index.tsx
+1
-1
src/constants/common.ts
+11
-11
src/pages/chat/components/Empty.tsx
+0
-1
src/pages/model/detail/components/ModelDataCard.tsx
+1
-0
src/pages/model/list/components/ModelTable.tsx
+2
-2
No files found.
public/imgs/wxcode.jpg
deleted
100644 → 0
View file @
56ba6fa5
320 KB
public/imgs/wxcode300.jpg
0 → 100644
View file @
677e6141
14.9 KB
src/components/WxConcat/index.tsx
View file @
677e6141
...
@@ -23,7 +23,7 @@ const WxConcat = ({ onClose }: { onClose: () => void }) => {
...
@@ -23,7 +23,7 @@ const WxConcat = ({ onClose }: { onClose: () => void }) => {
<
ModalBody
textAlign=
{
'center'
}
>
<
ModalBody
textAlign=
{
'center'
}
>
<
Image
<
Image
style=
{
{
margin
:
'auto'
}
}
style=
{
{
margin
:
'auto'
}
}
src=
{
'/imgs/wxcode.jpg'
}
src=
{
'/imgs/wxcode
300
.jpg'
}
width=
{
200
}
width=
{
200
}
height=
{
200
}
height=
{
200
}
alt=
""
alt=
""
...
...
src/constants/common.ts
View file @
677e6141
...
@@ -10,6 +10,11 @@ export const introPage = `
...
@@ -10,6 +10,11 @@ export const introPage = `
[Git 仓库](https://github.com/c121914yu/FastGPT)
[Git 仓库](https://github.com/c121914yu/FastGPT)
### 交流群/问题反馈
wx: YNyiqi

### 快速开始
### 快速开始
1. 使用邮箱注册账号。
1. 使用邮箱注册账号。
2. 进入账号页面,添加关联账号,目前只有 openai 的账号可以添加,直接去 openai 官网,把 API Key 粘贴过来。
2. 进入账号页面,添加关联账号,目前只有 openai 的账号可以添加,直接去 openai 官网,把 API Key 粘贴过来。
...
@@ -31,30 +36,25 @@ export const introPage = `
...
@@ -31,30 +36,25 @@ export const introPage = `
4. 使用该模型对话。
4. 使用该模型对话。
注意:使用知识库模型对话时,tokens 消耗会加快。
注意:使用知识库模型对话时,tokens 消耗会加快。
### 其他问题
还有其他问题,可以加我 wx: YNyiqi,拉个交流群大家一起聊聊。
`
;
`
;
export
const
chatProblem
=
`
export
const
chatProblem
=
`
## 常见问题
**内容长度**
**内容长度**
单次最长 4000 tokens, 上下文最长 8000 tokens, 上下文超长时会被截断。
单次最长 4000 tokens, 上下文最长 8000 tokens, 上下文超长时会被截断。
**
模型问题
**
**
删除和复制
**
一般情况下,请直接选择 chatGPT 模型,价格低效果好
。
点击对话头像,可以选择复制或删除该条内容
。
**代理出错**
**代理出错**
服务器代理不稳定,可以过一会儿再尝试。
服务器代理不稳定,可以过一会儿再尝试。
**API key 问题**
请把 openai 的 API key 粘贴到账号里再创建对话。如果是使用分享的对话,不需要填写 API key。
`
;
`
;
export
const
versionIntro
=
`
export
const
versionIntro
=
`
## Fast GPT V2.2
## Fast GPT V2.3
* 数据集导出功能,可用于知识库分享。
* 优化文件拆分功能,可自定义提示词。
* 定制知识库:创建模型时可以选择【知识库】模型, 可以手动导入知识点或者直接导入一个文件自动学习。
* 定制知识库:创建模型时可以选择【知识库】模型, 可以手动导入知识点或者直接导入一个文件自动学习。
* 删除和复制功能:点击对话头像,可以选择复制或删除该条内容。
`
;
`
;
export
const
shareHint
=
`
export
const
shareHint
=
`
...
...
src/pages/chat/components/Empty.tsx
View file @
677e6141
...
@@ -30,7 +30,6 @@ const Empty = ({ intro }: { intro: string }) => {
...
@@ -30,7 +30,6 @@ const Empty = ({ intro }: { intro: string }) => {
<
Markdown
source=
{
versionIntro
}
/>
<
Markdown
source=
{
versionIntro
}
/>
</
Card
>
</
Card
>
<
Card
p=
{
4
}
>
<
Card
p=
{
4
}
>
<
Header
>
常见问题
</
Header
>
<
Markdown
source=
{
chatProblem
}
/>
<
Markdown
source=
{
chatProblem
}
/>
</
Card
>
</
Card
>
</
Box
>
</
Box
>
...
...
src/pages/model/detail/components/ModelDataCard.tsx
View file @
677e6141
...
@@ -141,6 +141,7 @@ const ModelDataCard = ({ model }: { model: ModelSchema }) => {
...
@@ -141,6 +141,7 @@ const ModelDataCard = ({ model }: { model: ModelSchema }) => {
mr=
{
2
}
mr=
{
2
}
size=
{
'sm'
}
size=
{
'sm'
}
isLoading=
{
isLoadingExport
}
isLoading=
{
isLoadingExport
}
title=
{
'v2.3之前版本的数据无法导出'
}
onClick=
{
()
=>
onclickExport
()
}
onClick=
{
()
=>
onclickExport
()
}
>
>
导出
导出
...
...
src/pages/model/list/components/ModelTable.tsx
View file @
677e6141
...
@@ -42,12 +42,12 @@ const ModelTable = ({
...
@@ -42,12 +42,12 @@ const ModelTable = ({
dataIndex
:
'status'
,
dataIndex
:
'status'
,
render
:
(
item
:
ModelSchema
)
=>
(
render
:
(
item
:
ModelSchema
)
=>
(
<
Tag
<
Tag
colorScheme=
{
formatModelStatus
[
item
.
status
].
colorTheme
}
colorScheme=
{
formatModelStatus
[
item
.
status
]
?
.
colorTheme
}
variant=
"solid"
variant=
"solid"
px=
{
3
}
px=
{
3
}
size=
{
'md'
}
size=
{
'md'
}
>
>
{
formatModelStatus
[
item
.
status
].
text
}
{
formatModelStatus
[
item
.
status
]
?
.
text
}
</
Tag
>
</
Tag
>
)
)
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment