@digipair/skill-chatbot 0.32.6 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.en.json +0 -179
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-chatbot",
3
- "version": "0.32.6",
3
+ "version": "0.33.0",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",
package/schema.en.json DELETED
@@ -1,179 +0,0 @@
1
- {
2
- "openapi": "3.0.0",
3
- "info": {
4
- "title": "@digipair/skill-chatbot",
5
- "summary": "Communication with the chatbot",
6
- "description": "The skill allows managing communication with the chatbot.",
7
- "version": "0.1.0",
8
- "x-icon": "🤖"
9
- },
10
- "paths": {
11
- "/answer": {
12
- "post": {
13
- "tags": ["boost"],
14
- "summary": "Chatbot response",
15
- "parameters": [
16
- {
17
- "name": "assistant",
18
- "required": true,
19
- "description": "Assistant's response",
20
- "schema": {
21
- "type": "string"
22
- }
23
- },
24
- {
25
- "name": "command",
26
- "required": false,
27
- "description": "Commands executed on the chatbot",
28
- "schema": {
29
- "type": "array",
30
- "items": {
31
- "$ref": "https://schemas.digipair.ai/pinsSettings"
32
- }
33
- }
34
- },
35
- {
36
- "name": "boosts",
37
- "required": false,
38
- "description": "List of proposed boosts",
39
- "schema": {
40
- "type": "object"
41
- }
42
- },
43
- {
44
- "name": "sources",
45
- "required": false,
46
- "description": "List of sources used to respond to the user",
47
- "schema": {
48
- "type": "array",
49
- "items": {
50
- "type": "object"
51
- }
52
- }
53
- },
54
- {
55
- "name": "logs",
56
- "required": false,
57
- "description": "Useful information for debugging reasoning",
58
- "schema": {
59
- "type": "object"
60
- }
61
- }
62
- ],
63
- "x-events": []
64
- }
65
- },
66
- "/execute": {
67
- "post": {
68
- "tags": ["boost"],
69
- "summary": "Execute a step",
70
- "description": "Execute a step of a boost",
71
- "parameters": [
72
- {
73
- "name": "step",
74
- "required": true,
75
- "summary": "Name",
76
- "description": "Name of the step to execute",
77
- "schema": {
78
- "type": "string"
79
- }
80
- }
81
- ],
82
- "x-events": []
83
- }
84
- }
85
- },
86
- "components": {
87
- "schemas": {
88
- "Input": {
89
- "type": "object",
90
- "tags": ["boost"],
91
- "summary": "Input",
92
- "properties": {
93
- "prompt": {
94
- "type": "boolean"
95
- },
96
- "required": {
97
- "type": "boolean"
98
- },
99
- "selector": {
100
- "type": "string"
101
- },
102
- "url": {
103
- "type": "string"
104
- },
105
- "step": {
106
- "type": "string"
107
- },
108
- "inputs": {
109
- "type": "array",
110
- "items": {
111
- "$ref": "https://schemas.digipair.ai/pinsSettings"
112
- }
113
- }
114
- },
115
- "required": []
116
- },
117
- "Step": {
118
- "type": "object",
119
- "tags": ["boost"],
120
- "summary": "Step",
121
- "properties": {
122
- "name": {
123
- "summary": "Step name",
124
- "type": "string"
125
- },
126
- "execute": {
127
- "summary": "Actions to execute",
128
- "type": "array",
129
- "items": {
130
- "$ref": "https://schemas.digipair.ai/pinsSettings"
131
- }
132
- }
133
- },
134
- "required": ["name", "execute"]
135
- }
136
- }
137
- },
138
- "x-scene-blocks": {
139
- "/boost": {
140
- "summary": "Boost",
141
- "description": "Boost proposed by Digipair",
142
- "tags": ["boost", "service"],
143
- "metadata": [
144
- {
145
- "name": "selector",
146
- "summary": "Selector",
147
- "required": false,
148
- "description": "CSS selector",
149
- "schema": {
150
- "type": "string"
151
- }
152
- },
153
- {
154
- "name": "url",
155
- "summary": "RegEx Url",
156
- "required": false,
157
- "description": "RegEx url",
158
- "schema": {
159
- "type": "string"
160
- }
161
- }
162
- ],
163
- "parameters": [
164
- {
165
- "name": "steps",
166
- "summary": "Execute the following steps",
167
- "required": true,
168
- "description": "Execute the defined steps",
169
- "schema": {
170
- "type": "array",
171
- "items": {
172
- "$ref": "#/components/schemas/Step"
173
- }
174
- }
175
- }
176
- ]
177
- }
178
- }
179
- }