@digipair/skill-web-chatbot 0.25.6 → 0.26.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.
- package/index.esm2.js +5 -5
- package/package.json +1 -1
- package/schema.fr.json +89 -0
- package/schema.json +15 -15
package/index.esm2.js
CHANGED
|
@@ -52639,14 +52639,14 @@ function indent(str, spaces) {
|
|
|
52639
52639
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
52640
52640
|
// match is required
|
|
52641
52641
|
if (!match) {
|
|
52642
|
-
return tokens = tokens1,
|
|
52642
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
52643
52643
|
v: nextMatch1
|
|
52644
52644
|
};
|
|
52645
52645
|
}
|
|
52646
52646
|
var token = match.token, offset = match.offset;
|
|
52647
52647
|
i1 += offset;
|
|
52648
52648
|
if (token === " ") {
|
|
52649
|
-
return tokens = tokens1,
|
|
52649
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
52650
52650
|
}
|
|
52651
52651
|
tokens1 = _to_consumable_array$9(tokens1).concat([
|
|
52652
52652
|
token
|
|
@@ -52665,7 +52665,7 @@ function indent(str, spaces) {
|
|
|
52665
52665
|
if (contextKeys.some(function(el) {
|
|
52666
52666
|
return el.startsWith(name);
|
|
52667
52667
|
})) {
|
|
52668
|
-
return tokens = tokens1,
|
|
52668
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
52669
52669
|
}
|
|
52670
52670
|
if (dateTimeIdentifiers.some(function(el) {
|
|
52671
52671
|
return el === name;
|
|
@@ -52684,9 +52684,9 @@ function indent(str, spaces) {
|
|
|
52684
52684
|
if (dateTimeIdentifiers.some(function(el) {
|
|
52685
52685
|
return el.startsWith(name);
|
|
52686
52686
|
})) {
|
|
52687
|
-
return tokens = tokens1,
|
|
52687
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
52688
52688
|
}
|
|
52689
|
-
return tokens = tokens1,
|
|
52689
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
52690
52690
|
v: nextMatch1
|
|
52691
52691
|
};
|
|
52692
52692
|
};
|
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-web-chatbot",
|
|
5
|
+
"summary": "Affichage de chatbots",
|
|
6
|
+
"description": "Intégration d'un chatbot interactif sur une page web pour améliorer l'engagement et la communication avec les utilisateurs.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🤖"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/digipair-chatbot-full": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["web"],
|
|
14
|
+
"summary": "Chatbot en pleine page",
|
|
15
|
+
"description": "Affiche une conversation avec un chatbot en pleine page",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "code",
|
|
19
|
+
"summary": "Digipair",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Digipair à afficher",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "apiUrl",
|
|
28
|
+
"summary": "Adresse de la factory",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "Adresse URL de la factory",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "commonExperience",
|
|
37
|
+
"summary": "Digipair commun",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Digipair qui partage les raisonnements communs avec tous les chatbots",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"x-events": []
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"/digipair-chatbot": {
|
|
49
|
+
"post": {
|
|
50
|
+
"tags": ["web"],
|
|
51
|
+
"summary": "Chatbot",
|
|
52
|
+
"description": "Affiche un chatbot sur une page internet",
|
|
53
|
+
"parameters": [
|
|
54
|
+
{
|
|
55
|
+
"name": "code",
|
|
56
|
+
"summary": "Digipair",
|
|
57
|
+
"required": true,
|
|
58
|
+
"description": "Digipair à afficher",
|
|
59
|
+
"schema": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "apiUrl",
|
|
65
|
+
"summary": "Adresse de la factory",
|
|
66
|
+
"required": false,
|
|
67
|
+
"description": "Adresse URL de la factory",
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "commonExperience",
|
|
74
|
+
"summary": "Digipair commun",
|
|
75
|
+
"required": false,
|
|
76
|
+
"description": "Digipair qui partage les raisonnements communs avec tous les chatbots",
|
|
77
|
+
"schema": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"x-events": []
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"components": {
|
|
87
|
+
"schemas": {}
|
|
88
|
+
}
|
|
89
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-web-chatbot",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Display of chatbots",
|
|
6
|
+
"description": "Integration of an interactive chatbot on a web page to enhance engagement and communication with users.",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "🤖"
|
|
9
9
|
},
|
|
@@ -11,32 +11,32 @@
|
|
|
11
11
|
"/digipair-chatbot-full": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["web"],
|
|
14
|
-
"summary": "
|
|
15
|
-
"description": "
|
|
14
|
+
"summary": "Full-page chatbot",
|
|
15
|
+
"description": "Displays a conversation with a chatbot in full-page mode",
|
|
16
16
|
"parameters": [
|
|
17
17
|
{
|
|
18
18
|
"name": "code",
|
|
19
19
|
"summary": "Digipair",
|
|
20
20
|
"required": true,
|
|
21
|
-
"description": "Digipair
|
|
21
|
+
"description": "Digipair to display",
|
|
22
22
|
"schema": {
|
|
23
23
|
"type": "string"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "apiUrl",
|
|
28
|
-
"summary": "
|
|
28
|
+
"summary": "Factory address",
|
|
29
29
|
"required": false,
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "URL address of the factory",
|
|
31
31
|
"schema": {
|
|
32
32
|
"type": "string"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "commonExperience",
|
|
37
|
-
"summary": "Digipair
|
|
37
|
+
"summary": "Common Digipair",
|
|
38
38
|
"required": false,
|
|
39
|
-
"description": "Digipair
|
|
39
|
+
"description": "Digipair that shares common reasoning with all chatbots",
|
|
40
40
|
"schema": {
|
|
41
41
|
"type": "string"
|
|
42
42
|
}
|
|
@@ -49,31 +49,31 @@
|
|
|
49
49
|
"post": {
|
|
50
50
|
"tags": ["web"],
|
|
51
51
|
"summary": "Chatbot",
|
|
52
|
-
"description": "
|
|
52
|
+
"description": "Displays a chatbot on a web page",
|
|
53
53
|
"parameters": [
|
|
54
54
|
{
|
|
55
55
|
"name": "code",
|
|
56
56
|
"summary": "Digipair",
|
|
57
57
|
"required": true,
|
|
58
|
-
"description": "Digipair
|
|
58
|
+
"description": "Digipair to display",
|
|
59
59
|
"schema": {
|
|
60
60
|
"type": "string"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "apiUrl",
|
|
65
|
-
"summary": "
|
|
65
|
+
"summary": "Factory address",
|
|
66
66
|
"required": false,
|
|
67
|
-
"description": "
|
|
67
|
+
"description": "URL address of the factory",
|
|
68
68
|
"schema": {
|
|
69
69
|
"type": "string"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "commonExperience",
|
|
74
|
-
"summary": "Digipair
|
|
74
|
+
"summary": "Common Digipair",
|
|
75
75
|
"required": false,
|
|
76
|
-
"description": "Digipair
|
|
76
|
+
"description": "Digipair that shares common reasoning with all chatbots",
|
|
77
77
|
"schema": {
|
|
78
78
|
"type": "string"
|
|
79
79
|
}
|