@digipair/skill-web-chatbot 0.29.6 → 0.30.1

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.cjs2.js CHANGED
@@ -52659,14 +52659,14 @@ function indent(str, spaces) {
52659
52659
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
52660
52660
  // match is required
52661
52661
  if (!match) {
52662
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52662
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
52663
52663
  v: nextMatch1
52664
52664
  };
52665
52665
  }
52666
52666
  var token = match.token, offset = match.offset;
52667
52667
  i1 += offset;
52668
52668
  if (token === " ") {
52669
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52669
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
52670
52670
  }
52671
52671
  tokens1 = _to_consumable_array$9(tokens1).concat([
52672
52672
  token
@@ -52685,7 +52685,7 @@ function indent(str, spaces) {
52685
52685
  if (contextKeys.some(function(el) {
52686
52686
  return el.startsWith(name);
52687
52687
  })) {
52688
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52688
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
52689
52689
  }
52690
52690
  if (dateTimeIdentifiers.some(function(el) {
52691
52691
  return el === name;
@@ -52704,9 +52704,9 @@ function indent(str, spaces) {
52704
52704
  if (dateTimeIdentifiers.some(function(el) {
52705
52705
  return el.startsWith(name);
52706
52706
  })) {
52707
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52707
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
52708
52708
  }
52709
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52709
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
52710
52710
  v: nextMatch1
52711
52711
  };
52712
52712
  };
@@ -58568,11 +58568,9 @@ const config = {
58568
58568
  };
58569
58569
 
58570
58570
  let API_URL$1;
58571
- let COMMON_EXPERIENCE$1;
58572
58571
  class ChatbotElement extends s$3 {
58573
58572
  connectedCallback() {
58574
58573
  API_URL$1 = this.apiUrl;
58575
- COMMON_EXPERIENCE$1 = this.commonExperience;
58576
58574
  super.connectedCallback();
58577
58575
  this.loadUser();
58578
58576
  this.boostListener();
@@ -58590,8 +58588,11 @@ class ChatbotElement extends s$3 {
58590
58588
  });
58591
58589
  }
58592
58590
  loadUser() {
58593
- this.userId = localStorage.getItem('digipair-user');
58594
58591
  this.newUser = false;
58592
+ if (this.userId) {
58593
+ return;
58594
+ }
58595
+ this.userId = localStorage.getItem('digipair-user');
58595
58596
  if (!this.userId) {
58596
58597
  // set uuid
58597
58598
  this.userId = Math.random().toString(36).substring(2, 15);
@@ -58600,10 +58601,7 @@ class ChatbotElement extends s$3 {
58600
58601
  }
58601
58602
  }
58602
58603
  async boostListener() {
58603
- const digipair = this.code;
58604
- const boosts = (await this.executeScene(COMMON_EXPERIENCE$1, 'boosts', {
58605
- digipair
58606
- })).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
58604
+ const boosts = (await this.executeScene('boosts')).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
58607
58605
  scene: name,
58608
58606
  checkUrl: new RegExp(boost.url)
58609
58607
  }))).flat().filter((boost)=>boost && boost.selector);
@@ -58647,9 +58645,7 @@ class ChatbotElement extends s$3 {
58647
58645
  this.isDigipairLoading = true;
58648
58646
  const digipair = this.code;
58649
58647
  const reasoning = 'metadata';
58650
- const metadata = await this.executeScene(COMMON_EXPERIENCE$1, reasoning, {
58651
- digipair
58652
- });
58648
+ const metadata = await this.executeScene(reasoning);
58653
58649
  this.metadata = _extends({}, metadata, {
58654
58650
  id: digipair,
58655
58651
  config: {
@@ -58681,9 +58677,8 @@ class ChatbotElement extends s$3 {
58681
58677
  }
58682
58678
  async loadHistory() {
58683
58679
  const userId = this.userId;
58684
- const digipair = this.code;
58685
58680
  const reasoning = 'history';
58686
- const messages = await this.executeScene(digipair, reasoning, {
58681
+ const messages = await this.executeScene(reasoning, {
58687
58682
  userId
58688
58683
  });
58689
58684
  if (messages.length > 0) {
@@ -58854,7 +58849,7 @@ class ChatbotElement extends s$3 {
58854
58849
  this.code = 'common';
58855
58850
  this.firstOpenDelay = 60000;
58856
58851
  this.apiUrl = _config.API_URL;
58857
- this.commonExperience = _config.COMMON_EXPERIENCE;
58852
+ this.userId = null;
58858
58853
  this.boosters = [];
58859
58854
  this.loading = false;
58860
58855
  this.resultState = 'open';
@@ -58871,7 +58866,6 @@ class ChatbotElement extends s$3 {
58871
58866
  });
58872
58867
  this.alreadyOpened = false;
58873
58868
  this.isDigipairLoading = false;
58874
- this.userId = null;
58875
58869
  this.blurEvent = (event)=>{
58876
58870
  const path = event.composedPath();
58877
58871
  if (!path.includes(this)) {
@@ -58879,7 +58873,8 @@ class ChatbotElement extends s$3 {
58879
58873
  this.closeResult();
58880
58874
  }
58881
58875
  };
58882
- this.executeScene = async (digipair, reasoning, input = {})=>{
58876
+ this.executeScene = async (reasoning, input = {})=>{
58877
+ const digipair = this.code;
58883
58878
  const response = await fetch(`${API_URL$1}/${digipair}/${reasoning}`, {
58884
58879
  method: 'POST',
58885
58880
  headers: {
@@ -58902,8 +58897,9 @@ __decorate$3([
58902
58897
  n$3()
58903
58898
  ], ChatbotElement.prototype, "apiUrl", void 0);
58904
58899
  __decorate$3([
58905
- n$3()
58906
- ], ChatbotElement.prototype, "commonExperience", void 0);
58900
+ n$3(),
58901
+ __metadata("design:type", Object)
58902
+ ], ChatbotElement.prototype, "userId", void 0);
58907
58903
  __decorate$3([
58908
58904
  r$1(),
58909
58905
  __metadata("design:type", Array)
@@ -59074,16 +59070,17 @@ const styles = i$5`
59074
59070
  */
59075
59071
 
59076
59072
  let API_URL;
59077
- let COMMON_EXPERIENCE;
59078
59073
  class DigipairFullElement extends s$3 {
59079
59074
  connectedCallback() {
59080
59075
  API_URL = this.apiUrl;
59081
- COMMON_EXPERIENCE = this.commonExperience;
59082
59076
  super.connectedCallback();
59083
59077
  this.loadUser();
59084
59078
  this.loadBoosters();
59085
59079
  }
59086
59080
  loadUser() {
59081
+ if (this.userId) {
59082
+ return;
59083
+ }
59087
59084
  this.userId = localStorage.getItem('digipair-user');
59088
59085
  if (!this.userId) {
59089
59086
  // set uuid
@@ -59092,9 +59089,7 @@ class DigipairFullElement extends s$3 {
59092
59089
  }
59093
59090
  }
59094
59091
  async loadBoosters() {
59095
- this.cacheBoosters = (await this.executeScene(COMMON_EXPERIENCE, 'boosts', {
59096
- digipair: this.code
59097
- })).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
59092
+ this.cacheBoosters = (await this.executeScene('boosts')).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
59098
59093
  scene: name,
59099
59094
  checkUrl: new RegExp(boost.url)
59100
59095
  }))).flat().filter((boost)=>boost && !boost.selector).map((boost)=>({
@@ -59120,9 +59115,7 @@ class DigipairFullElement extends s$3 {
59120
59115
  this.isDigipairLoading = true;
59121
59116
  const digipair = this.code;
59122
59117
  const reasoning = 'metadata';
59123
- const metadata = await this.executeScene(COMMON_EXPERIENCE, reasoning, {
59124
- digipair
59125
- });
59118
+ const metadata = await this.executeScene(reasoning);
59126
59119
  this.metadata = _extends({}, metadata, {
59127
59120
  id: digipair,
59128
59121
  config: {
@@ -59137,9 +59130,8 @@ class DigipairFullElement extends s$3 {
59137
59130
  }
59138
59131
  async loadHistory() {
59139
59132
  const userId = this.userId;
59140
- const digipair = this.code;
59141
59133
  const reasoning = 'history';
59142
- const messages = await this.executeScene(digipair, reasoning, {
59134
+ const messages = await this.executeScene(reasoning, {
59143
59135
  userId
59144
59136
  });
59145
59137
  if (messages.length > 0) {
@@ -59313,7 +59305,7 @@ class DigipairFullElement extends s$3 {
59313
59305
  super(...args);
59314
59306
  this.code = 'common';
59315
59307
  this.apiUrl = _config.API_URL;
59316
- this.commonExperience = _config.COMMON_EXPERIENCE;
59308
+ this.userId = null;
59317
59309
  this.boosters = [];
59318
59310
  this.loading = false;
59319
59311
  this.currentBoost = null;
@@ -59328,9 +59320,9 @@ class DigipairFullElement extends s$3 {
59328
59320
  }
59329
59321
  });
59330
59322
  this.cacheBoosters = [];
59331
- this.userId = null;
59332
59323
  this.isDigipairLoading = false;
59333
- this.executeScene = async (digipair, reasoning, input = {})=>{
59324
+ this.executeScene = async (reasoning, input = {})=>{
59325
+ const digipair = this.code;
59334
59326
  const response = await fetch(`${API_URL}/${digipair}/${reasoning}`, {
59335
59327
  method: 'POST',
59336
59328
  headers: {
@@ -59350,8 +59342,9 @@ __decorate$3([
59350
59342
  n$3()
59351
59343
  ], DigipairFullElement.prototype, "apiUrl", void 0);
59352
59344
  __decorate$3([
59353
- n$3()
59354
- ], DigipairFullElement.prototype, "commonExperience", void 0);
59345
+ n$3(),
59346
+ __metadata("design:type", Object)
59347
+ ], DigipairFullElement.prototype, "userId", void 0);
59355
59348
  __decorate$3([
59356
59349
  r$1(),
59357
59350
  __metadata("design:type", Array)
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 i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52642
+ return nextMatch = nextMatch1, tokens = tokens1, 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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52649
+ return nextMatch = nextMatch1, tokens = tokens1, 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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52668
+ return nextMatch = nextMatch1, tokens = tokens1, 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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52687
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
52688
52688
  }
52689
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52689
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
52690
52690
  v: nextMatch1
52691
52691
  };
52692
52692
  };
@@ -58548,11 +58548,9 @@ const config = {
58548
58548
  };
58549
58549
 
58550
58550
  let API_URL$1;
58551
- let COMMON_EXPERIENCE$1;
58552
58551
  class ChatbotElement extends s$3 {
58553
58552
  connectedCallback() {
58554
58553
  API_URL$1 = this.apiUrl;
58555
- COMMON_EXPERIENCE$1 = this.commonExperience;
58556
58554
  super.connectedCallback();
58557
58555
  this.loadUser();
58558
58556
  this.boostListener();
@@ -58570,8 +58568,11 @@ class ChatbotElement extends s$3 {
58570
58568
  });
58571
58569
  }
58572
58570
  loadUser() {
58573
- this.userId = localStorage.getItem('digipair-user');
58574
58571
  this.newUser = false;
58572
+ if (this.userId) {
58573
+ return;
58574
+ }
58575
+ this.userId = localStorage.getItem('digipair-user');
58575
58576
  if (!this.userId) {
58576
58577
  // set uuid
58577
58578
  this.userId = Math.random().toString(36).substring(2, 15);
@@ -58580,10 +58581,7 @@ class ChatbotElement extends s$3 {
58580
58581
  }
58581
58582
  }
58582
58583
  async boostListener() {
58583
- const digipair = this.code;
58584
- const boosts = (await this.executeScene(COMMON_EXPERIENCE$1, 'boosts', {
58585
- digipair
58586
- })).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
58584
+ const boosts = (await this.executeScene('boosts')).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
58587
58585
  scene: name,
58588
58586
  checkUrl: new RegExp(boost.url)
58589
58587
  }))).flat().filter((boost)=>boost && boost.selector);
@@ -58627,9 +58625,7 @@ class ChatbotElement extends s$3 {
58627
58625
  this.isDigipairLoading = true;
58628
58626
  const digipair = this.code;
58629
58627
  const reasoning = 'metadata';
58630
- const metadata = await this.executeScene(COMMON_EXPERIENCE$1, reasoning, {
58631
- digipair
58632
- });
58628
+ const metadata = await this.executeScene(reasoning);
58633
58629
  this.metadata = _extends({}, metadata, {
58634
58630
  id: digipair,
58635
58631
  config: {
@@ -58661,9 +58657,8 @@ class ChatbotElement extends s$3 {
58661
58657
  }
58662
58658
  async loadHistory() {
58663
58659
  const userId = this.userId;
58664
- const digipair = this.code;
58665
58660
  const reasoning = 'history';
58666
- const messages = await this.executeScene(digipair, reasoning, {
58661
+ const messages = await this.executeScene(reasoning, {
58667
58662
  userId
58668
58663
  });
58669
58664
  if (messages.length > 0) {
@@ -58834,7 +58829,7 @@ class ChatbotElement extends s$3 {
58834
58829
  this.code = 'common';
58835
58830
  this.firstOpenDelay = 60000;
58836
58831
  this.apiUrl = _config.API_URL;
58837
- this.commonExperience = _config.COMMON_EXPERIENCE;
58832
+ this.userId = null;
58838
58833
  this.boosters = [];
58839
58834
  this.loading = false;
58840
58835
  this.resultState = 'open';
@@ -58851,7 +58846,6 @@ class ChatbotElement extends s$3 {
58851
58846
  });
58852
58847
  this.alreadyOpened = false;
58853
58848
  this.isDigipairLoading = false;
58854
- this.userId = null;
58855
58849
  this.blurEvent = (event)=>{
58856
58850
  const path = event.composedPath();
58857
58851
  if (!path.includes(this)) {
@@ -58859,7 +58853,8 @@ class ChatbotElement extends s$3 {
58859
58853
  this.closeResult();
58860
58854
  }
58861
58855
  };
58862
- this.executeScene = async (digipair, reasoning, input = {})=>{
58856
+ this.executeScene = async (reasoning, input = {})=>{
58857
+ const digipair = this.code;
58863
58858
  const response = await fetch(`${API_URL$1}/${digipair}/${reasoning}`, {
58864
58859
  method: 'POST',
58865
58860
  headers: {
@@ -58882,8 +58877,9 @@ __decorate$3([
58882
58877
  n$3()
58883
58878
  ], ChatbotElement.prototype, "apiUrl", void 0);
58884
58879
  __decorate$3([
58885
- n$3()
58886
- ], ChatbotElement.prototype, "commonExperience", void 0);
58880
+ n$3(),
58881
+ __metadata("design:type", Object)
58882
+ ], ChatbotElement.prototype, "userId", void 0);
58887
58883
  __decorate$3([
58888
58884
  r$1(),
58889
58885
  __metadata("design:type", Array)
@@ -59054,16 +59050,17 @@ const styles = i$5`
59054
59050
  */
59055
59051
 
59056
59052
  let API_URL;
59057
- let COMMON_EXPERIENCE;
59058
59053
  class DigipairFullElement extends s$3 {
59059
59054
  connectedCallback() {
59060
59055
  API_URL = this.apiUrl;
59061
- COMMON_EXPERIENCE = this.commonExperience;
59062
59056
  super.connectedCallback();
59063
59057
  this.loadUser();
59064
59058
  this.loadBoosters();
59065
59059
  }
59066
59060
  loadUser() {
59061
+ if (this.userId) {
59062
+ return;
59063
+ }
59067
59064
  this.userId = localStorage.getItem('digipair-user');
59068
59065
  if (!this.userId) {
59069
59066
  // set uuid
@@ -59072,9 +59069,7 @@ class DigipairFullElement extends s$3 {
59072
59069
  }
59073
59070
  }
59074
59071
  async loadBoosters() {
59075
- this.cacheBoosters = (await this.executeScene(COMMON_EXPERIENCE, 'boosts', {
59076
- digipair: this.code
59077
- })).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
59072
+ this.cacheBoosters = (await this.executeScene('boosts')).map(({ name, metadata })=>metadata == null ? void 0 : metadata.boosts.map((boost)=>_extends({}, boost, {
59078
59073
  scene: name,
59079
59074
  checkUrl: new RegExp(boost.url)
59080
59075
  }))).flat().filter((boost)=>boost && !boost.selector).map((boost)=>({
@@ -59100,9 +59095,7 @@ class DigipairFullElement extends s$3 {
59100
59095
  this.isDigipairLoading = true;
59101
59096
  const digipair = this.code;
59102
59097
  const reasoning = 'metadata';
59103
- const metadata = await this.executeScene(COMMON_EXPERIENCE, reasoning, {
59104
- digipair
59105
- });
59098
+ const metadata = await this.executeScene(reasoning);
59106
59099
  this.metadata = _extends({}, metadata, {
59107
59100
  id: digipair,
59108
59101
  config: {
@@ -59117,9 +59110,8 @@ class DigipairFullElement extends s$3 {
59117
59110
  }
59118
59111
  async loadHistory() {
59119
59112
  const userId = this.userId;
59120
- const digipair = this.code;
59121
59113
  const reasoning = 'history';
59122
- const messages = await this.executeScene(digipair, reasoning, {
59114
+ const messages = await this.executeScene(reasoning, {
59123
59115
  userId
59124
59116
  });
59125
59117
  if (messages.length > 0) {
@@ -59293,7 +59285,7 @@ class DigipairFullElement extends s$3 {
59293
59285
  super(...args);
59294
59286
  this.code = 'common';
59295
59287
  this.apiUrl = _config.API_URL;
59296
- this.commonExperience = _config.COMMON_EXPERIENCE;
59288
+ this.userId = null;
59297
59289
  this.boosters = [];
59298
59290
  this.loading = false;
59299
59291
  this.currentBoost = null;
@@ -59308,9 +59300,9 @@ class DigipairFullElement extends s$3 {
59308
59300
  }
59309
59301
  });
59310
59302
  this.cacheBoosters = [];
59311
- this.userId = null;
59312
59303
  this.isDigipairLoading = false;
59313
- this.executeScene = async (digipair, reasoning, input = {})=>{
59304
+ this.executeScene = async (reasoning, input = {})=>{
59305
+ const digipair = this.code;
59314
59306
  const response = await fetch(`${API_URL}/${digipair}/${reasoning}`, {
59315
59307
  method: 'POST',
59316
59308
  headers: {
@@ -59330,8 +59322,9 @@ __decorate$3([
59330
59322
  n$3()
59331
59323
  ], DigipairFullElement.prototype, "apiUrl", void 0);
59332
59324
  __decorate$3([
59333
- n$3()
59334
- ], DigipairFullElement.prototype, "commonExperience", void 0);
59325
+ n$3(),
59326
+ __metadata("design:type", Object)
59327
+ ], DigipairFullElement.prototype, "userId", void 0);
59335
59328
  __decorate$3([
59336
59329
  r$1(),
59337
59330
  __metadata("design:type", Array)
@@ -6,7 +6,7 @@ import './chat.element';
6
6
  export declare class DigipairFullElement extends LitElement {
7
7
  code: string;
8
8
  apiUrl: string;
9
- commonExperience: string;
9
+ userId: string | null;
10
10
  private boosters;
11
11
  private loading;
12
12
  private currentBoost;
@@ -14,7 +14,6 @@ export declare class DigipairFullElement extends LitElement {
14
14
  private chatbot;
15
15
  private CHAT_COMMAND;
16
16
  private cacheBoosters;
17
- private userId;
18
17
  private isDigipairLoading;
19
18
  private metadata;
20
19
  connectedCallback(): void;
@@ -7,7 +7,7 @@ export declare class ChatbotElement extends LitElement {
7
7
  code: string;
8
8
  firstOpenDelay: number;
9
9
  apiUrl: string;
10
- commonExperience: string;
10
+ userId: string | null;
11
11
  private boosters;
12
12
  private loading;
13
13
  private resultState;
@@ -17,7 +17,6 @@ export declare class ChatbotElement extends LitElement {
17
17
  private CHAT_COMMAND;
18
18
  private alreadyOpened;
19
19
  private isDigipairLoading;
20
- private userId;
21
20
  private newUser;
22
21
  private metadata;
23
22
  private blurEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.29.6",
3
+ "version": "0.30.1",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",
package/schema.en.json CHANGED
@@ -33,10 +33,10 @@
33
33
  }
34
34
  },
35
35
  {
36
- "name": "commonExperience",
37
- "summary": "Common Digipair",
36
+ "name": "userId",
37
+ "summary": "User ID",
38
38
  "required": false,
39
- "description": "Digipair that shares common reasoning with all chatbots",
39
+ "description": "Unique identifier of the user",
40
40
  "schema": {
41
41
  "type": "string"
42
42
  }
@@ -70,10 +70,10 @@
70
70
  }
71
71
  },
72
72
  {
73
- "name": "commonExperience",
74
- "summary": "Common Digipair",
73
+ "name": "userId",
74
+ "summary": "User ID",
75
75
  "required": false,
76
- "description": "Digipair that shares common reasoning with all chatbots",
76
+ "description": "Unique identifier of the user",
77
77
  "schema": {
78
78
  "type": "string"
79
79
  }
package/schema.fr.json CHANGED
@@ -33,10 +33,10 @@
33
33
  }
34
34
  },
35
35
  {
36
- "name": "commonExperience",
37
- "summary": "Digipair commun",
36
+ "name": "userId",
37
+ "summary": "Identifiant de l'utilisateur",
38
38
  "required": false,
39
- "description": "Digipair qui partage les raisonnements communs avec tous les chatbots",
39
+ "description": "Identifiant unique de l'utilisateur",
40
40
  "schema": {
41
41
  "type": "string"
42
42
  }
@@ -70,10 +70,10 @@
70
70
  }
71
71
  },
72
72
  {
73
- "name": "commonExperience",
74
- "summary": "Digipair commun",
73
+ "name": "userId",
74
+ "summary": "Identifiant de l'utilisateur",
75
75
  "required": false,
76
- "description": "Digipair qui partage les raisonnements communs avec tous les chatbots",
76
+ "description": "Identifiant unique de l'utilisateur",
77
77
  "schema": {
78
78
  "type": "string"
79
79
  }
package/schema.json CHANGED
@@ -33,10 +33,10 @@
33
33
  }
34
34
  },
35
35
  {
36
- "name": "commonExperience",
37
- "summary": "Common Digipair",
36
+ "name": "userId",
37
+ "summary": "User ID",
38
38
  "required": false,
39
- "description": "Digipair that shares common reasoning with all chatbots",
39
+ "description": "Unique identifier of the user",
40
40
  "schema": {
41
41
  "type": "string"
42
42
  }
@@ -70,10 +70,10 @@
70
70
  }
71
71
  },
72
72
  {
73
- "name": "commonExperience",
74
- "summary": "Common Digipair",
73
+ "name": "userId",
74
+ "summary": "User ID",
75
75
  "required": false,
76
- "description": "Digipair that shares common reasoning with all chatbots",
76
+ "description": "Unique identifier of the user",
77
77
  "schema": {
78
78
  "type": "string"
79
79
  }