Commit 677e6141 by archer

perf: 版本文案

parent 56ba6fa5
...@@ -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/wxcode300.jpg'}
width={200} width={200}
height={200} height={200}
alt="" alt=""
......
...@@ -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
![](/imgs/wxcode300.jpg)
### 快速开始 ### 快速开始
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 = `
......
...@@ -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>
......
...@@ -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()}
> >
导出 导出
......
...@@ -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>
) )
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment