Skip to content

Commit

Permalink
feat: docs and git
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed May 15, 2023
1 parent 06ab718 commit 32a8d68
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
11 changes: 4 additions & 7 deletions public/docs/chatProblem.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
### 常见问题

**请求次数太多了**
一般是因为自己的 openai 账号异常。请先检查自己的账号是否正常使用。
**Git 地址**
[项目地址,完全开源,随便用。](https://github.com/c121914yu/FastGPT)

**内容长度**
不同模型上上限不一样,现在全设置为最大上限。
**问题文档**
[先看文档,再提问](https://kjqvjse66l.feishu.cn/docx/HtrgdT0pkonP4kxGx8qcu6XDnGh)

**删除和复制**
电脑端:聊天内容右侧有复制和删除的图标。
移动端:点击对话头像,可以选择复制或删除该条内容。

**代理出错**
服务器不稳定,可以过一会儿再尝试。 或者可以访问国外服务器: [FastGpt](https://fastgpt.run/)

**价格表**
如果使用了自己的 Api Key,不会计费。可以在账号页,看到详细账单。
| 计费项 | 价格: 元/ 1K tokens(包含上下文)|
Expand Down
1 change: 1 addition & 0 deletions src/components/Icon/icons/git.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/components/Icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const map = {
tabbarMe: require('./icons/phoneTabbar/me.svg').default,
closeSolid: require('./icons/closeSolid.svg').default,
wx: require('./icons/wx.svg').default,
out: require('./icons/out.svg').default
out: require('./icons/out.svg').default,
git: require('./icons/git.svg').default
};

export type IconName = keyof typeof map;
Expand Down
18 changes: 18 additions & 0 deletions src/components/Layout/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,24 @@ const Navbar = () => {
</Tooltip>
))}
</Box>
<Box>
<Flex
mb={3}
flexDirection={'column'}
alignItems={'center'}
justifyContent={'center'}
cursor={'pointer'}
w={'60px'}
h={'45px'}
color={'#9096a5'}
_hover={{
color: '#ffffff'
}}
onClick={() => window.open('https://github.com/c121914yu/FastGPT')}
>
<MyIcon name={'git'} width={'22px'} height={'22px'} />
</Flex>
</Box>
</Flex>
);
};
Expand Down
5 changes: 5 additions & 0 deletions src/pages/tools/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const list = [
icon: 'develop',
label: '开发',
link: '/openapi'
},
{
icon: 'git',
label: 'Git项目地址',
link: 'https://github.com/c121914yu/FastGPT'
}
];

Expand Down

0 comments on commit 32a8d68

Please sign in to comment.