-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
117 lines (117 loc) · 3.17 KB
/
manifest.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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"display_information": {
"name": "AI for Incidents",
"description": "Use AI and Slack's workflow builder to review incidents and generate important details for an incident postmortem"
},
"features": {
"bot_user": {
"display_name": "ai-for-incidents",
"always_online": false
}
},
"oauth_config": {
"scopes": {
"bot": [
"chat:write",
"users:read",
"channels:history",
"groups:history"
]
}
},
"settings": {
"event_subscriptions": {
"bot_events": [
"function_executed"
]
},
"interactivity": {
"is_enabled": true
},
"org_deploy_enabled": true,
"socket_mode_enabled": true,
"token_rotation_enabled": false,
"function_runtime": "remote"
},
"functions": {
"get_thread": {
"title": "Get all thread replies",
"description": "Get all messages from a thread and return a JSON string",
"input_parameters": {
"thread_context": {
"type": "slack#/types/message_context",
"title": "Select a message",
"description": "Any top-level message or message in a thread to be used as the source of the discussion",
"is_required": true,
"name": "thread_context"
}
},
"output_parameters": {
"replies": {
"type": "string",
"title": "Thread message history",
"description": "A collection of replies from the source thread. Formatted as a JSON string with timestamp, author & text properties.",
"is_required": true,
"name": "replies"
}
}
},
"summarize_incident": {
"title": "Summarize incident with ChatGPT",
"description": "Use ChatGPT to summarize an incident and generate helpful details",
"input_parameters": {
"context": {
"type": "string",
"title": "Incident history",
"description": "JSON string representing Slack conversation with timestamp, author, & text properties",
"is_required": true,
"name": "context"
}
},
"output_parameters": {
"summary": {
"type": "string",
"title": "Summary",
"description": "",
"is_required": true,
"name": "summary"
},
"cause": {
"type": "string",
"title": "Cause",
"description": "",
"is_required": true,
"name": "cause"
},
"impact": {
"type": "string",
"title": "Impact",
"description": "",
"is_required": true,
"name": "impact"
},
"resolution": {
"type": "string",
"title": "Resolution",
"description": "",
"is_required": true,
"name": "resolution"
},
"duration": {
"type": "string",
"title": "Duration",
"description": "",
"is_required": true,
"name": "duration"
},
"timeline": {
"type": "string",
"title": "Timeline",
"description": "",
"is_required": true,
"name": "timeline"
}
}
}
}
}