-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
46 lines (46 loc) · 1.21 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"uuid": "51bb73c9-9a33-46f0-ba3e-07094b5a3d95",
"id": "get_web_search_results",
"emoji": "🔍",
"title": "Web Search",
"userSettings": [
{
"name": "searchEngineID",
"label": "Search Engine ID",
"required": true
},
{
"name": "searchEngineAPIKey",
"label": "Search Engine API Key",
"type": "password",
"required": true
}
],
"openaiSpec": {
"name": "get_web_search_results",
"description": "Search for information from the internet in real-time using Google Search.",
"parameters": {
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "The search keyword"
}
},
"required": ["keyword"]
}
},
"httpAction": {
"id": "03544138-b83c-426f-b157-636e87907aae",
"method": "GET",
"name": "",
"url": "https://customsearch.googleapis.com/customsearch/v1?q={keyword}&cx={searchEngineID}&key={searchEngineAPIKey}",
"resultTransform": {
"engine": "jmes",
"expression": "items[*].{Title: title, Result: snippet, Link: link}"
},
"hasResultTransform": true
},
"implementationType": "javascript",
"outputType": "respond_to_ai"
}