-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
96 lines (96 loc) · 2.57 KB
/
manifest.json
File metadata and controls
96 lines (96 loc) · 2.57 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"display_information": {
"name": "Sample Search App"
},
"features": {
"app_home": {
"home_tab_enabled": false,
"messages_tab_enabled": true,
"messages_tab_read_only_enabled": true
},
"bot_user": {
"display_name": "sample-search-app",
"always_online": true
},
"search": {
"search_function_callback_id": "search",
"search_filters_function_callback_id": "filters",
"enable_ai_answers": true
}
},
"oauth_config": {
"scopes": {
"bot": [
"chat:write"
]
}
},
"settings": {
"event_subscriptions": {
"bot_events": [
"function_executed"
]
},
"interactivity": {
"is_enabled": true
},
"org_deploy_enabled": true,
"socket_mode_enabled": true,
"token_rotation_enabled": false,
"hermes_app_type": "remote",
"function_runtime": "remote"
},
"functions": {
"filters": {
"title": "Sample Filter Function",
"description": "The filter function is used to define the filters for search results",
"input_parameters": {
"user_context": {
"type": "slack#/types/user_context",
"title": "User Context",
"description": "The context of the user executing a search",
"is_required": true,
"name": "user_context"
}
},
"output_parameters": {
"filters": {
"type": "slack#/types/search_filters",
"title": "Search Result",
"description": "An object containing an array of filters",
"is_required": true,
"name": "filters"
}
}
},
"search": {
"title": "Sample Search Function",
"description": "The search function is used to return search results from the data source based on the filters and query entered by the user",
"input_parameters": {
"query": {
"type": "string",
"title": "Query",
"description": "The search query entered by the user",
"is_required": true,
"name": "query"
},
"filters": {
"type": "object",
"title": "Filters",
"description": "The filters selected by the user",
"is_required": true,
"name": "filters"
}
},
"output_parameters": {
"search_result": {
"type": "slack#/types/search_results",
"title": "Search Result",
"description": "An object containing an arrays of search results",
"is_required": true,
"name": "search_result"
}
}
}
}
}