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
bb727b07
authored
Oct 23, 2024
by
papapatrick
Committed by
GitHub
Oct 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add bing search plugins (#2970)
parent
9b0706ed
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
2 deletions
+8
-2
packages/plugins/register.ts
+2
-1
packages/plugins/src/bing/template.json
+0
-0
packages/plugins/src/google/template.json
+1
-1
packages/web/components/common/Icon/constants.ts
+1
-0
packages/web/components/common/Icon/icons/core/workflow/template/bing.svg
+4
-0
No files found.
packages/plugins/register.ts
View file @
bb727b07
...
@@ -14,7 +14,8 @@ const staticPluginList = [
...
@@ -14,7 +14,8 @@ const staticPluginList = [
`Doc2X/FilePDF2text`
,
`Doc2X/FilePDF2text`
,
`Doc2X/FileImg2text`
,
`Doc2X/FileImg2text`
,
'feishu'
,
'feishu'
,
'google'
'google'
,
'bing'
];
];
// Run in worker thread (Have npm packages)
// Run in worker thread (Have npm packages)
const
packagePluginList
=
[
const
packagePluginList
=
[
...
...
packages/plugins/src/bing/template.json
0 → 100644
View file @
bb727b07
This diff is collapsed.
Click to expand it.
packages/plugins/src/google/template.json
View file @
bb727b07
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
"intro"
:
"在google中搜索。"
,
"intro"
:
"在google中搜索。"
,
"showStatus"
:
true
,
"showStatus"
:
true
,
"weight"
:
10
,
"weight"
:
10
,
"courseUrl"
:
"https://fael3z0zfze.feishu.cn/wiki/Vqk1w4ltNiuLifkHTuoc0hSrnVg?fromScene=spaceOverview"
,
"isTool"
:
true
,
"isTool"
:
true
,
"templateType"
:
"search"
,
"templateType"
:
"search"
,
...
...
packages/web/components/common/Icon/constants.ts
View file @
bb727b07
...
@@ -232,6 +232,7 @@ export const iconPaths = {
...
@@ -232,6 +232,7 @@ export const iconPaths = {
'core/workflow/template/datasource'
:
()
=>
'core/workflow/template/datasource'
:
()
=>
import
(
'./icons/core/workflow/template/datasource.svg'
),
import
(
'./icons/core/workflow/template/datasource.svg'
),
'core/workflow/template/google'
:
()
=>
import
(
'./icons/core/workflow/template/google.svg'
),
'core/workflow/template/google'
:
()
=>
import
(
'./icons/core/workflow/template/google.svg'
),
'core/workflow/template/bing'
:
()
=>
import
(
'./icons/core/workflow/template/bing.svg'
),
'core/workflow/template/fetchUrl'
:
()
=>
import
(
'./icons/core/workflow/template/fetchUrl.svg'
),
'core/workflow/template/fetchUrl'
:
()
=>
import
(
'./icons/core/workflow/template/fetchUrl.svg'
),
'core/workflow/template/formInput'
:
()
=>
import
(
'./icons/core/workflow/template/formInput.svg'
),
'core/workflow/template/formInput'
:
()
=>
import
(
'./icons/core/workflow/template/formInput.svg'
),
'core/workflow/template/getTime'
:
()
=>
import
(
'./icons/core/workflow/template/getTime.svg'
),
'core/workflow/template/getTime'
:
()
=>
import
(
'./icons/core/workflow/template/getTime.svg'
),
...
...
packages/web/components/common/Icon/icons/core/workflow/template/bing.svg
0 → 100644
View file @
bb727b07
<svg
xmlns=
"http://www.w3.org/2000/svg"
x=
"0px"
y=
"0px"
width=
"100"
height=
"100"
viewBox=
"0 0 48 48"
>
<linearGradient
id=
"ZkmZ8eVihrQTUnr9TZpNla_pOADWgX6vV63_gr1"
x1=
"11.905"
x2=
"17.941"
y1=
"1.952"
y2=
"40.401"
gradientUnits=
"userSpaceOnUse"
><stop
offset=
"0"
stop-color=
"#3dbffc"
></stop><stop
offset=
"1"
stop-color=
"#183efb"
></stop></linearGradient><path
fill=
"url(#ZkmZ8eVihrQTUnr9TZpNla_pOADWgX6vV63_gr1)"
d=
"M17.572,37.076L20,35.619V10.603c0-1.632-0.796-3.161-2.133-4.096L12.36,2.652 C11.366,1.956,10,2.667,10,3.881V32.5c0,0.22,0.02,0.555,0.033,0.772C10.369,36.867,14.382,38.99,17.572,37.076z"
></path><linearGradient
id=
"ZkmZ8eVihrQTUnr9TZpNlb_pOADWgX6vV63_gr2"
x1=
"14.342"
x2=
"34.121"
y1=
"41.478"
y2=
"25.575"
gradientUnits=
"userSpaceOnUse"
><stop
offset=
"0"
stop-color=
"#33bef0"
></stop><stop
offset=
".159"
stop-color=
"#32b9f0"
></stop><stop
offset=
".341"
stop-color=
"#2facf2"
></stop><stop
offset=
".533"
stop-color=
"#2a95f4"
></stop><stop
offset=
".733"
stop-color=
"#2475f6"
></stop><stop
offset=
".936"
stop-color=
"#1b4cfa"
></stop><stop
offset=
"1"
stop-color=
"#183efb"
></stop></linearGradient><path
fill=
"url(#ZkmZ8eVihrQTUnr9TZpNlb_pOADWgX6vV63_gr2)"
d=
"M32.682,27.904L20,35.5v0l-2.428,1.457c-3.191,1.915-7.203-0.209-7.54-3.804 C10.372,38.922,15.145,43.5,21,43.5c1.963,0,3.888-0.536,5.568-1.551l6.834-4.126c0.817-0.493,1.522-1.075,2.15-1.707 C37.906,33.415,36.739,28.669,32.682,27.904z"
></path><linearGradient
id=
"ZkmZ8eVihrQTUnr9TZpNlc_pOADWgX6vV63_gr3"
x1=
"24.223"
x2=
"45.699"
y1=
"17.113"
y2=
"38.588"
gradientUnits=
"userSpaceOnUse"
><stop
offset=
"0"
stop-color=
"#3dbffd"
></stop><stop
offset=
"1"
stop-color=
"#1de9b6"
></stop></linearGradient><path
fill=
"url(#ZkmZ8eVihrQTUnr9TZpNlc_pOADWgX6vV63_gr3)"
d=
"M33.636,19.568l-7.607-3.803c-1.234-0.617-2.576,0.618-2.064,1.899l1.755,5.886 c0.499,1.248,1.479,2.242,2.719,2.758L32.5,28c4.057,0.766,5.352,5.251,3.052,8.117C40.399,31.24,40.088,22.794,33.636,19.568z"
></path>
</svg>
\ No newline at end of file
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