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
32a8d68c
authored
May 15, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: docs and git
parent
06ab718e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
8 deletions
+31
-8
public/docs/chatProblem.md
+4
-7
src/components/Icon/icons/git.svg
+2
-0
src/components/Icon/index.tsx
+2
-1
src/components/Layout/navbar.tsx
+18
-0
src/pages/tools/index.tsx
+5
-0
No files found.
public/docs/chatProblem.md
View file @
32a8d68c
### 常见问题
### 常见问题
**
请求次数太多了
**
**
Git 地址
**
一般是因为自己的 openai 账号异常。请先检查自己的账号是否正常使用。
[
项目地址,完全开源,随便用。
](
https://github.com/c121914yu/FastGPT
)
**
内容长度
**
**
问题文档
**
不同模型上上限不一样,现在全设置为最大上限。
[
先看文档,再提问
](
https://kjqvjse66l.feishu.cn/docx/HtrgdT0pkonP4kxGx8qcu6XDnGh
)
**删除和复制**
**删除和复制**
电脑端:聊天内容右侧有复制和删除的图标。
电脑端:聊天内容右侧有复制和删除的图标。
移动端:点击对话头像,可以选择复制或删除该条内容。
移动端:点击对话头像,可以选择复制或删除该条内容。
**代理出错**
服务器不稳定,可以过一会儿再尝试。 或者可以访问国外服务器:
[
FastGpt
](
https://fastgpt.run/
)
**价格表**
**价格表**
如果使用了自己的 Api Key,不会计费。可以在账号页,看到详细账单。
如果使用了自己的 Api Key,不会计费。可以在账号页,看到详细账单。
| 计费项 | 价格: 元/ 1K tokens(包含上下文)|
| 计费项 | 价格: 元/ 1K tokens(包含上下文)|
...
...
src/components/Icon/icons/git.svg
0 → 100644
View file @
32a8d68c
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1684122143852"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2364"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"64"
height=
"64"
><path
d=
"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9 23.5 23.2 38.1 55.4 38.1 91v112.5c0.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"
p-id=
"2365"
></path></svg>
\ No newline at end of file
src/components/Icon/index.tsx
View file @
32a8d68c
...
@@ -25,7 +25,8 @@ const map = {
...
@@ -25,7 +25,8 @@ const map = {
tabbarMe
:
require
(
'./icons/phoneTabbar/me.svg'
).
default
,
tabbarMe
:
require
(
'./icons/phoneTabbar/me.svg'
).
default
,
closeSolid
:
require
(
'./icons/closeSolid.svg'
).
default
,
closeSolid
:
require
(
'./icons/closeSolid.svg'
).
default
,
wx
:
require
(
'./icons/wx.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
;
export
type
IconName
=
keyof
typeof
map
;
...
...
src/components/Layout/navbar.tsx
View file @
32a8d68c
...
@@ -125,6 +125,24 @@ const Navbar = () => {
...
@@ -125,6 +125,24 @@ const Navbar = () => {
</
Tooltip
>
</
Tooltip
>
))
}
))
}
</
Box
>
</
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
>
</
Flex
>
);
);
};
};
...
...
src/pages/tools/index.tsx
View file @
32a8d68c
...
@@ -19,6 +19,11 @@ const list = [
...
@@ -19,6 +19,11 @@ const list = [
icon
:
'develop'
,
icon
:
'develop'
,
label
:
'开发'
,
label
:
'开发'
,
link
:
'/openapi'
link
:
'/openapi'
},
{
icon
:
'git'
,
label
:
'Git项目地址'
,
link
:
'https://github.com/c121914yu/FastGPT'
}
}
];
];
...
...
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