forked from MegaPortal/spellboard-reveal-js-intent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintents.json
39 lines (39 loc) · 1.33 KB
/
intents.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
{
"name": "Exa Searcher",
"description": "Search for web contents using Exa.ai.",
"intents": [
{
"name": "search_exa",
"description": "Search for web contents using Exa.ai.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query, which can be any string."
},
"time": {
"type": "string",
"description": "The time interval for the search query, which can be a number 1 to 4: 1: past day, 2: past week, 3: past month, 4: past year or a date: specific time, e.g. 2018-01-01."
}
},
"required": [
"query",
"time"
]
},
"async": true,
"link": "/?query={query}&time={time}",
"example": "/?query=apple&time=1",
"returns": {
"type": "object",
"properties": {
"response": {
"type": "string",
"description": "The response message."
}
}
}
}
]
}