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
0dcda982
authored
Oct 12, 2024
by
heheer
Committed by
GitHub
Oct 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change app template default author (#2893)
parent
06e1c5d6
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
13 deletions
+15
-13
projects/app/public/appMarketTemplates/CQ/template.json
+1
-1
projects/app/public/appMarketTemplates/TranslateRobot/template.json
+1
-1
projects/app/public/appMarketTemplates/chatGuide/template.json
+1
-1
projects/app/public/appMarketTemplates/flux/template.json
+1
-1
projects/app/public/appMarketTemplates/google/template.json
+1
-1
projects/app/public/appMarketTemplates/plugin-dalle/template.json
+1
-1
projects/app/public/appMarketTemplates/plugin-feishu/template.json
+1
-1
projects/app/public/appMarketTemplates/simpleDatasetChat/template.json
+1
-1
projects/app/public/appMarketTemplates/srt-translate/template.json
+1
-1
projects/app/public/appMarketTemplates/timeBot/template.json
+1
-1
projects/app/src/pages/app/detail/components/SimpleApp/components/ToolSelectModal.tsx
+1
-1
projects/app/src/pages/app/list/components/CreateModal.tsx
+3
-1
projects/app/src/pages/app/list/components/TemplateMarketModal.tsx
+1
-1
No files found.
projects/app/public/appMarketTemplates/CQ/template.json
View file @
0dcda982
{
{
"name"
:
"问题分类 + 知识库"
,
"name"
:
"问题分类 + 知识库"
,
"intro"
:
"先对用户的问题进行分类,再根据不同类型问题,执行不同的操作"
,
"intro"
:
"先对用户的问题进行分类,再根据不同类型问题,执行不同的操作"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"core/workflow/template/questionClassify"
,
"avatar"
:
"core/workflow/template/questionClassify"
,
"tags"
:
[
"office-services"
],
"tags"
:
[
"office-services"
],
"type"
:
"advanced"
,
"type"
:
"advanced"
,
...
...
projects/app/public/appMarketTemplates/TranslateRobot/template.json
View file @
0dcda982
{
{
"name"
:
"多轮翻译机器人"
,
"name"
:
"多轮翻译机器人"
,
"intro"
:
"通过 4 轮翻译,提高翻译英文的质量"
,
"intro"
:
"通过 4 轮翻译,提高翻译英文的质量"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"/appMarketTemplates/TranslateRobot/avatar.svg"
,
"avatar"
:
"/appMarketTemplates/TranslateRobot/avatar.svg"
,
"tags"
:
[
"office-services"
],
"tags"
:
[
"office-services"
],
"type"
:
"advanced"
,
"type"
:
"advanced"
,
...
...
projects/app/public/appMarketTemplates/chatGuide/template.json
View file @
0dcda982
{
{
"name"
:
"对话引导 + 变量"
,
"name"
:
"对话引导 + 变量"
,
"intro"
:
"可以在对话开始发送一段提示,或者让用户填写一些内容,作为本次对话的变量"
,
"intro"
:
"可以在对话开始发送一段提示,或者让用户填写一些内容,作为本次对话的变量"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"core/workflow/template/systemConfig"
,
"avatar"
:
"core/workflow/template/systemConfig"
,
"tags"
:
[
"office-services"
],
"tags"
:
[
"office-services"
],
"type"
:
"simple"
,
"type"
:
"simple"
,
...
...
projects/app/public/appMarketTemplates/flux/template.json
View file @
0dcda982
{
{
"name"
:
"Flux 绘图"
,
"name"
:
"Flux 绘图"
,
"intro"
:
"通过请求 Flux 接口绘图,需要有 api key"
,
"intro"
:
"通过请求 Flux 接口绘图,需要有 api key"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"/appMarketTemplates/flux/avatar.svg"
,
"avatar"
:
"/appMarketTemplates/flux/avatar.svg"
,
"type"
:
"plugin"
,
"type"
:
"plugin"
,
"tags"
:
[
"image-generation"
],
"tags"
:
[
"image-generation"
],
...
...
projects/app/public/appMarketTemplates/google/template.json
View file @
0dcda982
{
{
"name"
:
"谷歌搜索"
,
"name"
:
"谷歌搜索"
,
"intro"
:
"通过请求谷歌搜索,查询相关内容作为模型的参考。"
,
"intro"
:
"通过请求谷歌搜索,查询相关内容作为模型的参考。"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"/appMarketTemplates/google/avatar.svg"
,
"avatar"
:
"/appMarketTemplates/google/avatar.svg"
,
"tags"
:
[
"recommendation"
,
"web-search"
],
"tags"
:
[
"recommendation"
,
"web-search"
],
"type"
:
"advanced"
,
"type"
:
"advanced"
,
...
...
projects/app/public/appMarketTemplates/plugin-dalle/template.json
View file @
0dcda982
{
{
"name"
:
"Dalle3 绘图"
,
"name"
:
"Dalle3 绘图"
,
"intro"
:
"通过请求 Dalle3 接口绘图,需要有 api key"
,
"intro"
:
"通过请求 Dalle3 接口绘图,需要有 api key"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"/appMarketTemplates/plugin-dalle/avatar.svg"
,
"avatar"
:
"/appMarketTemplates/plugin-dalle/avatar.svg"
,
"type"
:
"plugin"
,
"type"
:
"plugin"
,
"tags"
:
[
"recommendation"
,
"image-generation"
],
"tags"
:
[
"recommendation"
,
"image-generation"
],
...
...
projects/app/public/appMarketTemplates/plugin-feishu/template.json
View file @
0dcda982
{
{
"name"
:
"飞书 webhook 插件"
,
"name"
:
"飞书 webhook 插件"
,
"intro"
:
"通过 webhook 给飞书机器人发送一条消息"
,
"intro"
:
"通过 webhook 给飞书机器人发送一条消息"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"/appMarketTemplates/plugin-feishu/avatar.svg"
,
"avatar"
:
"/appMarketTemplates/plugin-feishu/avatar.svg"
,
"type"
:
"plugin"
,
"type"
:
"plugin"
,
"tags"
:
[
"recommendation"
,
"office-services"
],
"tags"
:
[
"recommendation"
,
"office-services"
],
...
...
projects/app/public/appMarketTemplates/simpleDatasetChat/template.json
View file @
0dcda982
{
{
"name"
:
"知识库+对话引导"
,
"name"
:
"知识库+对话引导"
,
"intro"
:
"每次提问时进行一次知识库搜索,将搜索结果注入 LLM 模型进行参考回答"
,
"intro"
:
"每次提问时进行一次知识库搜索,将搜索结果注入 LLM 模型进行参考回答"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"core/workflow/template/datasetSearch"
,
"avatar"
:
"core/workflow/template/datasetSearch"
,
"type"
:
"simple"
,
"type"
:
"simple"
,
"tags"
:
[
"office-services"
],
"tags"
:
[
"office-services"
],
...
...
projects/app/public/appMarketTemplates/srt-translate/template.json
View file @
0dcda982
{
{
"name"
:
"长字幕反思翻译机器人"
,
"name"
:
"长字幕反思翻译机器人"
,
"intro"
:
"利用 AI 自我反思提升翻译质量,同时循环迭代执行 AI 工作流来突破 LLM tokens 限制,实现一个高效的长字幕翻译机器人"
,
"intro"
:
"利用 AI 自我反思提升翻译质量,同时循环迭代执行 AI 工作流来突破 LLM tokens 限制,实现一个高效的长字幕翻译机器人"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"/appMarketTemplates/TranslateRobot/avatar.svg"
,
"avatar"
:
"/appMarketTemplates/TranslateRobot/avatar.svg"
,
"tags"
:
[
"office-services"
],
"tags"
:
[
"office-services"
],
"type"
:
"advanced"
,
"type"
:
"advanced"
,
...
...
projects/app/public/appMarketTemplates/timeBot/template.json
View file @
0dcda982
{
{
"name"
:
"知道时间的机器人"
,
"name"
:
"知道时间的机器人"
,
"intro"
:
"通过挂载时间插件,让模型获取当前最新时间"
,
"intro"
:
"通过挂载时间插件,让模型获取当前最新时间"
,
"author"
:
"
FastGPT
"
,
"author"
:
""
,
"avatar"
:
"core/workflow/template/getTime"
,
"avatar"
:
"core/workflow/template/getTime"
,
"tags"
:
[
"recommendation"
,
"roleplay"
],
"tags"
:
[
"recommendation"
,
"roleplay"
],
"type"
:
"simple"
,
"type"
:
"simple"
,
...
...
projects/app/src/pages/app/detail/components/SimpleApp/components/ToolSelectModal.tsx
View file @
0dcda982
...
@@ -309,7 +309,7 @@ const RenderList = React.memo(function RenderList({
...
@@ -309,7 +309,7 @@ const RenderList = React.memo(function RenderList({
</
Box
>
</
Box
>
{
item
.
author
!==
undefined
&&
(
{
item
.
author
!==
undefined
&&
(
<
Box
fontSize=
{
'xs'
}
mr=
{
3
}
>
<
Box
fontSize=
{
'xs'
}
mr=
{
3
}
>
{
`
b
y ${item.author || feConfigs.systemTitle}`
}
{
`
B
y ${item.author || feConfigs.systemTitle}`
}
</
Box
>
</
Box
>
)
}
)
}
{
selected
?
(
{
selected
?
(
...
...
projects/app/src/pages/app/list/components/CreateModal.tsx
View file @
0dcda982
...
@@ -24,6 +24,7 @@ import {
...
@@ -24,6 +24,7 @@ import {
getTemplateMarketItemDetail
,
getTemplateMarketItemDetail
,
getTemplateMarketItemList
getTemplateMarketItemList
}
from
'@/web/core/app/api/template'
;
}
from
'@/web/core/app/api/template'
;
import
{
useSystemStore
}
from
'@/web/common/system/useSystemStore'
;
type
FormType
=
{
type
FormType
=
{
avatar
:
string
;
avatar
:
string
;
...
@@ -46,6 +47,7 @@ const CreateModal = ({
...
@@ -46,6 +47,7 @@ const CreateModal = ({
const
router
=
useRouter
();
const
router
=
useRouter
();
const
{
parentId
,
loadMyApps
}
=
useContextSelector
(
AppListContext
,
(
v
)
=>
v
);
const
{
parentId
,
loadMyApps
}
=
useContextSelector
(
AppListContext
,
(
v
)
=>
v
);
const
{
isPc
}
=
useSystem
();
const
{
isPc
}
=
useSystem
();
const
{
feConfigs
}
=
useSystemStore
();
const
typeMap
=
useRef
({
const
typeMap
=
useRef
({
[
AppTypeEnum
.
simple
]:
{
[
AppTypeEnum
.
simple
]:
{
...
@@ -257,7 +259,7 @@ const CreateModal = ({
...
@@ -257,7 +259,7 @@ const CreateModal = ({
{
t
(
item
.
intro
as
any
)
}
{
t
(
item
.
intro
as
any
)
}
</
Box
>
</
Box
>
<
Box
w=
{
'full'
}
fontSize=
{
'mini'
}
>
<
Box
w=
{
'full'
}
fontSize=
{
'mini'
}
>
<
Box
color=
{
'myGray.500'
}
>
By
{
item
.
author
}
</
Box
>
<
Box
color=
{
'myGray.500'
}
>
{
`By ${item.author || feConfigs.systemTitle}`
}
</
Box
>
<
Box
<
Box
className=
"buttons"
className=
"buttons"
display=
{
'none'
}
display=
{
'none'
}
...
...
projects/app/src/pages/app/list/components/TemplateMarketModal.tsx
View file @
0dcda982
...
@@ -189,7 +189,7 @@ const TemplateMarketModal = ({
...
@@ -189,7 +189,7 @@ const TemplateMarketModal = ({
</
Box
>
</
Box
>
<
Box
w=
{
'full'
}
fontSize=
{
'mini'
}
>
<
Box
w=
{
'full'
}
fontSize=
{
'mini'
}
>
<
Box
color=
{
'myGray.500'
}
>
By
{
item
.
author
}
</
Box
>
<
Box
color=
{
'myGray.500'
}
>
{
`by ${item.author || feConfigs.systemTitle}`
}
</
Box
>
<
Box
<
Box
className=
"buttons"
className=
"buttons"
display=
{
'none'
}
display=
{
'none'
}
...
...
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